aboutsummaryrefslogtreecommitdiff
path: root/apps/audit.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-20 16:34:03 -0300
committerSilvio <silvio@devlet.com.br>2010-08-20 16:34:03 -0300
commitbf67bc20b46f3e464a21ca618e367efa503c6df6 (patch)
tree3c815de6c486eaeeb8d0f2825d49a056826c1564 /apps/audit.php
parent3ee2c153df3633c707da10a159c6104bfbe1c6d6 (diff)
downloadcinisis-bf67bc20b46f3e464a21ca618e367efa503c6df6.tar.gz
cinisis-bf67bc20b46f3e464a21ca618e367efa503c6df6.tar.bz2
Class logger for IsisAudit
Diffstat (limited to 'apps/audit.php')
-rw-r--r--apps/audit.php8
1 files changed, 5 insertions, 3 deletions
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();