PHP 클래스 Wallmander\ElasticsearchIndexer\Model\Log

저자: Mikael Mattsson ([email protected])
파일 보기 프로젝트 열기: wallmanderco/elasticsearch-indexer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$log Monolog\Logger | null

공개 메소드들

메소드 설명
add ( string $message ) Add a line to the log.
get ( ) : string Get entire log.
getFilePath ( string $filename = 'elasticsearch-indexer' ) : string Get the full path to a log file.
getLoggerInstance ( ) : Logger Get the logger instance.

메소드 상세

add() 공개 정적인 메소드

Add a line to the log.
public static add ( string $message )
$message string

get() 공개 정적인 메소드

Get entire log.
public static get ( ) : string
리턴 string

getFilePath() 공개 정적인 메소드

Get the full path to a log file.
public static getFilePath ( string $filename = 'elasticsearch-indexer' ) : string
$filename string
리턴 string

getLoggerInstance() 공개 정적인 메소드

Get the logger instance.
public static getLoggerInstance ( ) : Logger
리턴 Monolog\Logger

프로퍼티 상세

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

public static Logger,Monolog|null $log
리턴 Monolog\Logger | null