
Public Member Functions | |
| logMessage ($path, $priority, $message, $file, $line) | |
| This function will be called by the logging facility. | |
Static Public Member Functions | |
| static | getInstance () |
| The singleton getter. | |
| static | convertObjectToString ($object, $indent=0, $visited=array(), $verbose=true) |
| Converts an object to a string value. | |
Private Member Functions | |
| __construct () | |
| Constructor. | |
Static Private Attributes | |
| static | $instance |
| The singleton instance of this class. | |
Definition at line 6 of file PhpErrorLogTarget.class.php.
| spunQ_PhpErrorLogTarget::__construct | ( | ) | [private] |
Constructor.
Defined to reduce visibility.
Definition at line 29 of file PhpErrorLogTarget.class.php.
| static spunQ_LogTarget::convertObjectToString | ( | $ | object, | |
| $ | indent = 0, |
|||
| $ | visited = array(), |
|||
| $ | verbose = true | |||
| ) | [static, inherited] |
Converts an object to a string value.
| $object | The object to convert. | |
| $indent | Indentation level of the hierarchy | |
| $visited | array of processed objects. Tracked to detect recursion. |
Definition at line 15 of file LogTarget.class.php.
| static spunQ_PhpErrorLogTarget::getInstance | ( | ) | [static] |
The singleton getter.
Definition at line 18 of file PhpErrorLogTarget.class.php.
| spunQ_PhpErrorLogTarget::logMessage | ( | $ | path, | |
| $ | priority, | |||
| $ | message, | |||
| $ | file, | |||
| $ | line | |||
| ) |
This function will be called by the logging facility.
A logger rule matched a logging event that was triggered and this log target was provided to the rule.
| $path | The source of the log event. | |
| $priority | The priority with which the Logger was invoked. | |
| $message | The message of the log event. | |
| $file | The path to the file where the event actually occured. | |
| $line | The line within the file where the log event was triggered |
Implements spunQ_ILogTarget.
Definition at line 37 of file PhpErrorLogTarget.class.php.
spunQ_PhpErrorLogTarget::$instance [static, private] |
1.5.9