Moodle  2.2.1
http://www.collinsharper.com
Minify_Logger Class Reference

Static Public Member Functions

static setLogger ($obj=null)
static log ($msg, $label= 'Minify')

Detailed Description

Definition at line 13 of file Logger.php.


Member Function Documentation

static log ( msg,
label = 'Minify' 
) [static]

Pass a message to the logger (if set)

Parameters:
string$msgmessage to log
Returns:
null

Definition at line 36 of file Logger.php.

Here is the caller graph for this function:

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.

Parameters:
mixed$objor a "falsey" value to disable
Returns:
null

Definition at line 24 of file Logger.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations