From bf67bc20b46f3e464a21ca618e367efa503c6df6 Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 20 Aug 2010 16:34:03 -0300 Subject: Class logger for IsisAudit --- apps/audit.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'apps/audit.php') diff --git a/apps/audit.php b/apps/audit.php index 9863e2d..0bd560b 100644 --- a/apps/audit.php +++ b/apps/audit.php @@ -15,10 +15,12 @@ $isis = new IsisAudit(); // Setup database and entry number. if ($isis) { // Run audit. - $result = $isis->run(); + $isis->run(); - // Format output. - $display->pre(print_r($result)); + // Display log messages. + foreach ($isis->log as $message) { + $display->pre(print_r($message)); + } } $display->footer(); -- cgit v1.2.3