Properties
|
public
$records
|
public
$recordsByLevel
|
Methods
|
public
__call
(
$method
,
$args
) |
public
Psr\Log\AbstractLogger
::
alert
(
$message
,
array
$context
=
[
]
)
Action must be taken immediately.
Example: Entire website down, database unavailable, etc. This should
trigger the SMS alerts and wake you up.
|
public
Psr\Log\AbstractLogger
::
critical
(
$message
,
array
$context
=
[
]
)
Critical conditions.
Example: Application component unavailable, unexpected exception.
|
public
Psr\Log\AbstractLogger
::
debug
(
$message
,
array
$context
=
[
]
)
Detailed debug information.
|
public
Psr\Log\AbstractLogger
::
emergency
(
$message
,
array
$context
=
[
]
)
|
public
Psr\Log\AbstractLogger
::
error
(
$message
,
array
$context
=
[
]
)
Runtime errors that do not require immediate action but should typically
be logged and monitored.
|
public
hasRecord
(
$record
,
$level
) |
public
hasRecords
(
$level
) |
public
hasRecordThatContains
(
$message
,
$level
) |
public
hasRecordThatMatches
(
$regex
,
$level
) |
public
hasRecordThatPasses
(
callable
$predicate
,
$level
) |
public
Psr\Log\AbstractLogger
::
info
(
$message
,
array
$context
=
[
]
)
Interesting events.
Example: User logs in, SQL logs.
|
public
log
(
$level
,
$message
,
array
$context
=
[
]
)
|
public
Psr\Log\AbstractLogger
::
notice
(
$message
,
array
$context
=
[
]
)
Normal but significant events.
|
public
reset
() |
public
Psr\Log\AbstractLogger
::
warning
(
$message
,
array
$context
=
[
]
)
Exceptional occurrences that are not errors.
Example: Use of deprecated APIs, poor use of an API, undesirable things
that are not necessarily wrong.
|