mxLog

Logging facility.

Summary
mxLogLogging facility.
Variables
level_fineSpecifies the fine logging level.
level_debugSpecifies the debug logging level.
level_infoSpecifies the info logging level.
level_warnSpecifies the warn logging level.
level_errorSpecifies the error logging level.
currentDefault is true.
tabDefault is true.
logfilesHolds the array of logfiles.
printLogSpecifies if the log should be printed out.
Functions
addLogfileAdds a file for logging.
enterLogs a method entry.
leaveLogs a method exit.
fineLogs a fine trace.
debugLogs a debug trace.
infoLogs an info trace.
warnLogs a warn trace.
errorLogs an error trace.
writelnWrites a line with a linefeed to the log.
writeWrites a line to the log.
closeCloses all open logfiles.

Variables

level_fine

public static $level_fine

Specifies the fine logging level.

level_debug

public static $level_debug

Specifies the debug logging level.

level_info

public static $level_info

Specifies the info logging level.

level_warn

public static $level_warn

Specifies the warn logging level.

level_error

public static $level_error

Specifies the error logging level.

current

public static $current

Default is true.

tab

public static $tab

Default is true.

logfiles

public static $logfiles

Holds the array of logfiles.

printLog

public static $printLog

Specifies if the log should be printed out.

Functions

addLogfile

static function addLogfile($filename)

Adds a file for logging.

enter

static function enter($method,  
$text = "")

Logs a method entry.

leave

static function leave($text = "")

Logs a method exit.

fine

static function fine($text)

Logs a fine trace.

debug

static function debug($text)

Logs a debug trace.

info

static function info($text)

Logs an info trace.

warn

static function warn($text)

Logs a warn trace.

error

static function error($text)

Logs an error trace.

writeln

static function writeln($text)

Writes a line with a linefeed to the log.

write

static function write($text)

Writes a line to the log.

close

static function close()

Closes all open logfiles.

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