Collaboration diagram for Log:Public Member Functions | |
| __construct ($logfile="", $application="", $function="") | |
| debug ($string) | |
| callstack ($string) | |
| trace ($string) | |
| info ($string) | |
| warning ($string) | |
| error ($string) | |
| fatal ($string) | |
| deprecated ($string) | |
| setLogLevel ($logLevel) | |
| getLogLevel () | |
| start ($text="") | |
| tic ($text) | |
| end ($text) | |
| push ($string) | |
| pop () | |
| wlog ($sta, $str, $args=NULL, $facility=LOG_LOCAL6) | |
Data Fields | |
| $loghead | |
| $application | |
| $function | |
| const | DEBUG = "D" |
| const | CALLSTACK = "C" |
| const | TRACE = "T" |
| const | INFO = "I" |
| const | WARNING = "W" |
| const | ERROR = "E" |
| const | FATAL = "F" |
| const | DEPRECATED = "O" |
Protected Attributes | |
| $logLevel = null | |
Log manager log message according to CORE_LOGLEVEL parameter
Definition at line 22 of file Class.Log.php.
| __construct | ( | $logfile = "", |
|
$application = "", |
|||
$function = "" |
|||
| ) |
| string | $logfile | |
| string | $application | |
| string | $function |
Definition at line 79 of file Class.Log.php.
Here is the call graph for this function:| callstack | ( | $string | ) |
| string | $string | message text |
Definition at line 109 of file Class.Log.php.
Here is the call graph for this function:| debug | ( | $string | ) |
log with debug level
| string | $string | message text |
Definition at line 102 of file Class.Log.php.
Here is the call graph for this function:| deprecated | ( | $string | ) |
log with deprecated level add callstack
Definition at line 165 of file Class.Log.php.
Here is the call graph for this function:| end | ( | $text | ) |
log end time from last start
| string | $text | text to log |
Definition at line 215 of file Class.Log.php.
Here is the call graph for this function:| error | ( | $string | ) |
log with error level
| string | $string | message text |
Definition at line 145 of file Class.Log.php.
Here is the call graph for this function:| fatal | ( | $string | ) |
log with fatal level
| string | $string | message text |
Definition at line 154 of file Class.Log.php.
Here is the call graph for this function:| getLogLevel | ( | ) |
Definition at line 179 of file Class.Log.php.
Here is the call graph for this function:| info | ( | $string | ) |
log with info level
| string | $string | message text |
Definition at line 127 of file Class.Log.php.
Here is the call graph for this function:| pop | ( | ) |
| push | ( | $string | ) |
| setLogLevel | ( | $logLevel | ) |
| string | $logLevel |
Definition at line 172 of file Class.Log.php.
| start | ( | $text = "" | ) |
to set start time
| string | $text | prefix text to set for next tic/end |
Definition at line 190 of file Class.Log.php.
Here is the call graph for this function:| tic | ( | $text | ) |
log partial time
| string | $text | text to log |
Definition at line 203 of file Class.Log.php.
Here is the call graph for this function:| trace | ( | $string | ) |
log with trace level
| string | $string | mesage text |
Definition at line 118 of file Class.Log.php.
Here is the call graph for this function:| warning | ( | $string | ) |
log with warning level
| string | $string | message text |
Definition at line 136 of file Class.Log.php.
Here is the call graph for this function:| wlog | ( | $sta, | |
| $str, | |||
$args = NULL, |
|||
$facility = LOG_LOCAL6 |
|||
| ) |
main log function
| string | $sta | log code (one character : IWEFDOT) |
| string | $str | message to log |
| null | $args | unused |
| int | $facility | syslog level |
Definition at line 253 of file Class.Log.php.
Here is the call graph for this function:| $application |
Definition at line 25 of file Class.Log.php.
| $function |
Definition at line 26 of file Class.Log.php.
| $loghead |
Definition at line 24 of file Class.Log.php.
|
protected |
Definition at line 34 of file Class.Log.php.
| const CALLSTACK = "C" |
Constant to set log to callstack level
Definition at line 44 of file Class.Log.php.
| const DEBUG = "D" |
Constant to set log to debug level Debug level is used by Core. It's used to assert taht Core works properly
Definition at line 40 of file Class.Log.php.
| const DEPRECATED = "O" |
Constant to set log to deprecated level
Definition at line 70 of file Class.Log.php.
| const ERROR = "E" |
Constant to set log to error level
Definition at line 62 of file Class.Log.php.
| const FATAL = "F" |
Constant to set log to fatal level
Definition at line 66 of file Class.Log.php.
| const INFO = "I" |
Constant to set log to info level
Definition at line 54 of file Class.Log.php.
| const TRACE = "T" |
Constant to set log to trace level The trace level is a level reserved for user usage. Core will never log with this level
Definition at line 50 of file Class.Log.php.
| const WARNING = "W" |
Constant to set log to warning level
Definition at line 58 of file Class.Log.php.