Public Member Functions | |
__construct (&$xmlArr) | |
log ($priority, $package, $message) | |
logError ($level=7, $package, $message, $fileName=NULL, $backTrace= '') | |
setFormatter () | |
setExtension () | |
prepFile ($path) | |
closeFile ($path) | |
Protected Member Functions | |
readMetadata (&$xmlArr) |
Definition at line 28 of file logService.php.
__construct | ( | &$ | xmlArr ) |
Initialize logService with xml array metadata
array | $xmlArr |
Reimplemented from MetaObject.
Definition at line 84 of file logService.php.
closeFile | ( | $ | path ) |
Close a file with the correct string depending on the configured format
Definition at line 335 of file logService.php.
log | ( | $ | priority, |
$ | package, | ||
$ | message | ||
) |
The primary log function that will take an incoming message and specified paramter and log in the appropriate location and format
int | $level | - Follow common BSD error levels |
string | $package | - A way to group log messages |
string | $message | - The actual message to log |
Definition at line 119 of file logService.php.
logError | ( | $ | level = 7 , |
$ | package, | ||
$ | message, | ||
$ | fileName = NULL , |
||
$ | backTrace = '' |
||
) |
The primary log function that will take an incoming message and specified paramter and log in the appropriate location and format
int | $level | - Follow common BSD error levels |
string | $package | - A way to group log messages |
string | $message | - The actual message to log |
string | $fileName | - An optional specific file name where the message should be logged |
string | $string | - An optional list of the Application stack at the time of error |
Definition at line 189 of file logService.php.
prepFile | ( | $ | path ) |
Either open a new file with the correct string or remove a previous closing string
Definition at line 302 of file logService.php.
readMetadata | ( | &$ | xmlArr ) | [protected] |
Read array meta data, and store to meta object
array | $xmlArr |
Reimplemented from MetaObject.
Definition at line 100 of file logService.php.
setExtension | ( | ) |
Set the extension based on the type of format selected in app.inc
Definition at line 281 of file logService.php.
setFormatter | ( | ) |
Set the formatter based on the type of format selected in app.inc
Definition at line 256 of file logService.php.