Skip to content
Newer
Older
100644 16 lines (10 sloc) 361 Bytes
2a57935 @jbroadway Added FirePHP handler
authored
1 <?php
2
618b939 @jbroadway Moved code to lib/ folder, added optional PSR-0 support, added PSR-0 …
authored
3 require '../lib/Analog.php';
2a57935 @jbroadway Added FirePHP handler
authored
4
5 Analog::handler (Analog\Handler\FirePHP::init ());
6
7 // debug-level message
8 Analog::log (array ('A debug message', __FILE__, __LINE__), Analog::DEBUG);
9
10 // an info message
11 Analog::log (array ('An error message', __FILE__, __LINE__), Analog::INFO);
12
13 // an error with no file/line #'s
14 Analog::log ('Another error message');
15
16 ?>
Something went wrong with that request. Please try again.