diff options
Diffstat (limited to 'example/example.php')
-rwxr-xr-x | example/example.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/example/example.php b/example/example.php deleted file mode 100755 index 4714021..0000000 --- a/example/example.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -# Should log to the same directory as this file -require dirname(__FILE__).'/../vendor/autoload.php'; - -$obj = new stdClass(); -$obj->foo = 'bar'; -$log = new Katzgrau\KLogger\Logger(dirname(__FILE__), Psr\Log\LogLevel::DEBUG); -$args1 = array('a' => array('b' => 'c'), 'd' => null, 'e' => $obj); -$args2 = NULL; - -$log->emergency('Emergency Test'); -$log->alert('Alert Test'); -$log->critical('Critical Test'); -$log->error('Error Test'); -$log->warning('Warning Test'); -$log->notice('Notice Test'); -$log->info('Info Test'); -$log->debug('Debug Test'); - -$log->info('Testing passing an array or object', $args1); |