PHP 클래스 Lndj\Supports\Log

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

공개 프로퍼티들

프로퍼티 타입 설명
$log_file string The log file.

공개 메소드들

메소드 설명
__construct ( ) Log constructor.
debug ( $message, $context ) : boolean Debug message.
error ( $message, $context )
info ( $info, $context ) : boolean Info log.

메소드 상세

__construct() 공개 메소드

Log constructor.
public __construct ( )

debug() 공개 정적인 메소드

Debug message.
public static debug ( $message, $context ) : boolean
$message
$context
리턴 boolean

error() 공개 정적인 메소드

public static error ( $message, $context )

info() 공개 정적인 메소드

Info log.
public static info ( $info, $context ) : boolean
$info
$context
리턴 boolean

프로퍼티 상세

$log_file 공개적으로 정적으로 프로퍼티

The log file.
public static string $log_file
리턴 string