PHP 클래스 Kimai_Logger

파일 보기 프로젝트 열기: kimai/kimai 1 사용 예제들

공개 메소드들

메소드 설명
__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.

비공개 메소드들

메소드 설명
__construct ( ) Create a new logger instance.

메소드 상세

__destruct() 공개 메소드

Close the file if the instance is destroyed.
public __destruct ( )

errorHandler() 공개 정적인 메소드

public static errorHandler ( $errno, $errstr, $errfile, $errline )

exceptionHandler() 공개 정적인 메소드

public static exceptionHandler ( $exception )

init() 공개 정적인 메소드

Initialize the logger.
저자: sl
public static init ( )

log() 공개 메소드

Write a line to the logfile.
저자: sl
public log ( string $line )
$line string line to log

logfile() 공개 정적인 메소드

Simple static method to log lines to the logfile.
저자: sl
public static logfile ( string $value )
$value string message