DBLogger DBLogger(
[String
$namespace = '']
)
|
|
Pass a Namespace for your Log Instance if desired.
Otherwise you log into the default namespace.
Parameters:
|
String |
$namespace: |
the Namespace |
void log(
int
$mode, String
$msg
)
|
|
Log a message for a special mode.
Parameters:
|
int |
$mode: |
the Log Level |
|
String |
$msg: |
the Log Message |
Redefinition of:
- Logger::log()
- Log a message for a special mode, use this if you wanna use your own level/mode!
unknown_type logEntry(
$entry
$entry
)
|
|
Logs a full LogEntry (which must be an object of the type classes.logger.LogEntry).
Parameters:
Redefinition of:
- Logger::logEntry()
- Logs a full LogEntry (which must be an object of the type classes.logger.LogEntry).
void logScriptError(
$errno,
$errmsg,
$filename,
$linenum,
$vars
)
|
|
Parameters:
|
|
$errno: |
|
|
|
$errmsg: |
|
|
|
$filename: |
|
|
|
$linenum: |
|
|
|
$vars: |
|
Redefinition of:
- Logger::logScriptError()
- Callback function for the PHP logging mechanism.