Table of Contents
Properties
-
$emptyResource
: ResourceInfo|null
Methods
-
defaultResource()
: ResourceInfo
-
emptyResource()
: ResourceInfo
-
logDebug()
: void
-
logError()
: void
-
logInfo()
: void
-
logNotice()
: void
-
logWarning()
: void
-
doLog()
: void
-
shouldLog()
: bool
$emptyResource
private
static ResourceInfo|null
$emptyResource
= null
defaultResource()
public
static defaultResource() : ResourceInfo
emptyResource()
public
static emptyResource() : ResourceInfo
logDebug()
protected
static logDebug(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
-
$message
: string
-
-
$context
: array<string|int, mixed>
= []
-
logError()
protected
static logError(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
-
$message
: string
-
-
$context
: array<string|int, mixed>
= []
-
logInfo()
protected
static logInfo(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
-
$message
: string
-
-
$context
: array<string|int, mixed>
= []
-
logNotice()
protected
static logNotice(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
-
$message
: string
-
-
$context
: array<string|int, mixed>
= []
-
logWarning()
protected
static logWarning(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
-
$message
: string
-
-
$context
: array<string|int, mixed>
= []
-
doLog()
private
static doLog(string $level, string $message, array<string|int, mixed> $context) : void
Parameters
-
$level
: string
-
-
$message
: string
-
-
$context
: array<string|int, mixed>
-
shouldLog()
private
static shouldLog(string $level) : bool
Parameters
-
$level
: string
-