File: chromelogger.php

package info (click to toggle)
php-analog 1.0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 424 kB
  • ctags: 232
  • sloc: php: 875; makefile: 12; sh: 5
file content (19 lines) | stat: -rw-r--r-- 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

require 'Analog.php';

Analog::handler (Analog\Handler\ChromeLogger::init ());

// debug-level message
Analog::debug ($_SERVER);

// an info message
Analog::info ('An error message');

// a warning message
Analog::warning ('Turn back before it\'s too late');

// an error with no file/line #'s
Analog::log ('Another error message');

?>