|
Moodle
2.2.1
http://www.collinsharper.com
|
Static Public Member Functions | |
| static | setLogger ($obj=null) |
| static | log ($msg, $label= 'Minify') |
Definition at line 13 of file Logger.php.
Pass a message to the logger (if set)
| string | $msg | message to log |
Definition at line 36 of file Logger.php.

| static setLogger | ( | $ | obj = null | ) | [static] |
Set logger object.
The object should have a method "log" that accepts a value as 1st argument and an optional string label as the 2nd.
| mixed | $obj | or a "falsey" value to disable |
Definition at line 24 of file Logger.php.