Method | Description | |
---|---|---|
__destruct ( ) | Close the file if the instance is destroyed. | |
errorHandler ( $errno, $errstr, $errfile, $errline ) | ||
exceptionHandler ( $exception ) | ||
init ( ) | Initialize the logger. | |
log ( string $line ) | Write a line to the logfile. | |
logfile ( string $value ) | Simple static method to log lines to the logfile. |
Method | Description | |
---|---|---|
__construct ( ) | Create a new logger instance. |
public static errorHandler ( $errno, $errstr, $errfile, $errline ) |