Property | Type | Description | |
---|---|---|---|
$component | null | ||
$fileObject | null | ||
$instances | array | ||
$loggers | array | ||
$relatedObject | null | ||
$relatedObjectType | string |
Method | Description | |
---|---|---|
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 ) : |
||
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 ) |
Method | Description | |
---|---|---|
handleLog ( $level, $message, $params ) | ||
resolveLoggingSource ( ) : string | Resolve logging source |
public static getDbLogger ( string $component = null, string $logLevel = "error" ) : static | ||
$component | string | |
$logLevel | string | |
return | static |
public static getInstance ( string $component = "default", $initDbHandler = false ) : |
||
$component | string | |
return |
protected resolveLoggingSource ( ) : string | ||
return | string |
public setComponent ( string $component ) : void | ||
$component | string | |
return | void |