Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 529 Bytes
require '../lib/Analog.php';
Analog::handler (Analog\Handler\LevelBuffer::init (
Analog\Handler\Mail::init (
'Attention: A critical error has occurred',
// none of these will trigger sending the log
Analog::log ('Debugging...', Analog::DEBUG);
Analog::log ('Minor warning...', Analog::WARNING);
Analog::log ('An error...', Analog::ERROR);
// but this will, and will include all the others in the log
Analog::log ('Oh noes!', Analog::URGENT);
Something went wrong with that request. Please try again.