File: amon.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 (16 lines) | stat: -rw-r--r-- 275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

// 1. Install the Amon PHP lib from http://amon.cx/guide/clients/php/
require 'amon.php';

require 'Analog.php';

Analog::handler (Analog\Handler\Amon::init (
	'http://127.0.0.1',
	2464
));

Analog::log ('Error message');
Analog::log ('Debug info', Analog::DEBUG);

?>