PHP 클래스 Pimcore\Log\ApplicationLogger

파일 보기 프로젝트 열기: pimcore/pimcore

보호된 프로퍼티들

프로퍼티 타입 설명
$component null
$fileObject null
$instances array
$loggers array
$relatedObject null
$relatedObjectType string

공개 메소드들

메소드 설명
addWriter ( $writer )
alert ( string $message )
critical ( string $message )
debug ( string $message )
emergency ( string $message )
error ( string $message )
getDbLogger ( string $component = null, string $logLevel = "error" ) : static Shorthand to get a Db Logger
getInstance ( string $component = "default", $initDbHandler = false ) : ApplicationLogger
info ( string $message )
log ( mixed $level, string $message, array $context = [] ) : null
logException ( $message, $exceptionObject, string $priority = "alert", null $relatedObject = null, null $component = null )
notice ( string $message )
setComponent ( string $component ) : void
setFileObject ( $fileObject ) : void
setRelatedObject ( $relatedObject ) : void
warning ( string $message )

보호된 메소드들

메소드 설명
handleLog ( $level, $message, $params )
resolveLoggingSource ( ) : string Resolve logging source

메소드 상세

addWriter() 공개 메소드

public addWriter ( $writer )
$writer

alert() 공개 메소드

public alert ( string $message )
$message string

critical() 공개 메소드

public critical ( string $message )
$message string

debug() 공개 메소드

public debug ( string $message )
$message string

emergency() 공개 메소드

public emergency ( string $message )
$message string

error() 공개 메소드

public error ( string $message )
$message string

getDbLogger() 공개 정적인 메소드

Shorthand to get a Db Logger
public static getDbLogger ( string $component = null, string $logLevel = "error" ) : static
$component string
$logLevel string
리턴 static

getInstance() 공개 정적인 메소드

public static getInstance ( string $component = "default", $initDbHandler = false ) : ApplicationLogger
$component string
리턴 ApplicationLogger

handleLog() 보호된 메소드

protected handleLog ( $level, $message, $params )

info() 공개 메소드

public info ( string $message )
$message string

log() 공개 메소드

public log ( mixed $level, string $message, array $context = [] ) : null
$level mixed
$message string
$context array
리턴 null

logException() 공개 메소드

public logException ( $message, $exceptionObject, string $priority = "alert", null $relatedObject = null, null $component = null )
$message
$exceptionObject
$priority string
$relatedObject null
$component null

notice() 공개 메소드

public notice ( string $message )
$message string

resolveLoggingSource() 보호된 메소드

Resolve logging source
protected resolveLoggingSource ( ) : string
리턴 string

setComponent() 공개 메소드

public setComponent ( string $component ) : void
$component string
리턴 void

setFileObject() 공개 메소드

public setFileObject ( $fileObject ) : void
리턴 void

setRelatedObject() 공개 메소드

public setRelatedObject ( $relatedObject ) : void
리턴 void

warning() 공개 메소드

public warning ( string $message )
$message string

프로퍼티 상세

$component 보호되어 있는 프로퍼티

protected null $component
리턴 null

$fileObject 보호되어 있는 프로퍼티

protected null $fileObject
리턴 null

$instances 보호되어 있는 정적으로 프로퍼티

protected static array $instances
리턴 array

$loggers 보호되어 있는 프로퍼티

protected array $loggers
리턴 array

$relatedObject 보호되어 있는 프로퍼티

protected null $relatedObject
리턴 null

$relatedObjectType 보호되어 있는 프로퍼티

protected string $relatedObjectType
리턴 string