
Public Member Functions | |
| __construct ($path) | |
| Constructor. | |
| logMessage ($path, $priority, $message, $file, $line) | |
| This function will be called by the logging facility. | |
Protected Attributes | |
| $file | |
| The file to write log events to. | |
If the logging fails for any reason, it is instead logged by the spunQ_PhpErrorLogTarget.
Definition at line 8 of file FileLogTarget.class.php.
| spunQ_FileLogTarget::__construct | ( | $ | path | ) |
| spunQ_FileLogTarget::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 28 of file FileLogTarget.class.php.
spunQ_FileLogTarget::$file [protected] |
The file to write log events to.
Definition at line 14 of file FileLogTarget.class.php.
1.5.9