LoggerAwareTrait
Table of Contents
Properties
-
$defaultLogLevel
: string
Methods
-
setDefaultLogLevel()
: void
-
getLogger()
: LoggerInterface
-
log()
: void
$defaultLogLevel
private
string
$defaultLogLevel
= \Psr\Log\LogLevel::INFO
setDefaultLogLevel()
public
setDefaultLogLevel(string $logLevel) : void
Parameters
-
$logLevel
: string
-
getLogger()
protected
getLogger() : LoggerInterface
Return values
LoggerInterface
log()
protected
log(string $message[, array<string|int, mixed> $context = [] ][, string|null $level = null ]) : void
Parameters
-
$message
: string
-
-
$context
: array<string|int, mixed>
= []
-
-
$level
: string|null
= null
-