From 362ddf298200ee6a7dfcc535df48d22ee2478e9c Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 27 Jul 2010 10:32:12 -0300 Subject: Logging --- classes/MaleteDb.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'classes/MaleteDb.php') diff --git a/classes/MaleteDb.php b/classes/MaleteDb.php index 6b7b563..17cfdd2 100644 --- a/classes/MaleteDb.php +++ b/classes/MaleteDb.php @@ -27,6 +27,12 @@ class MaleteDb implements IsisDb { */ var $format; + /** + * @var $log + * Class action log. + */ + var $log; + /** * Constructor. * @@ -142,4 +148,14 @@ class MaleteDb implements IsisDb { } return $data; } + + /** + * Class logger. + * + * @param $message + * Log message. + */ + function logger($message) { + $this->log[] = $message; + } } -- cgit v1.2.3