Logging facility.
| mxLog | Logging facility. |
| Variables | |
| level_fine | Specifies the fine logging level. |
| level_debug | Specifies the debug logging level. |
| level_info | Specifies the info logging level. |
| level_warn | Specifies the warn logging level. |
| level_error | Specifies the error logging level. |
| current | Default is true. |
| tab | Default is true. |
| logfiles | Holds the array of logfiles. |
| printLog | Specifies if the log should be printed out. |
| Functions | |
| addLogfile | Adds a file for logging. |
| enter | Logs a method entry. |
| leave | Logs a method exit. |
| fine | Logs a fine trace. |
| debug | Logs a debug trace. |
| info | Logs an info trace. |
| warn | Logs a warn trace. |
| error | Logs an error trace. |
| writeln | Writes a line with a linefeed to the log. |
| write | Writes a line to the log. |
| close | Closes all open logfiles. |
Specifies the fine logging level.
public static $level_fine
Specifies the debug logging level.
public static $level_debug
Specifies the info logging level.
public static $level_info
Specifies the warn logging level.
public static $level_warn
Specifies the error logging level.
public static $level_error
Default is true.
public static $current
Default is true.
public static $tab
Holds the array of logfiles.
public static $logfiles
Specifies if the log should be printed out.
public static $printLog
Adds a file for logging.
static function addLogfile( $filename )
Logs a method entry.
static function enter( $method, $text = "" )
Logs a method exit.
static function leave( $text = "" )
Logs a fine trace.
static function fine( $text )
Logs a debug trace.
static function debug( $text )
Logs an info trace.
static function info( $text )
Logs a warn trace.
static function warn( $text )
Logs an error trace.
static function error( $text )
Writes a line with a linefeed to the log.
static function writeln( $text )
Writes a line to the log.
static function write( $text )
Closes all open logfiles.
static function close()