File: firebug.php

package info (click to toggle)
php-log 1.10.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 404 kB
  • ctags: 592
  • sloc: php: 1,822; xml: 237; sql: 8; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

require_once 'Log.php';

$logger = &Log::singleton('firebug', '',
                          'PHP',
                          array('buffering' => true),
                          PEAR_LOG_DEBUG);

for ($i = 0; $i < 10; $i++) {
    $logger->log("Log entry $i");
}