Aerys\Logger classLogger implementsPsr\Log\LoggerInterface

Summary

Properties

Methods

Properties

Methods

output —protectedabstract functionoutput(string$message)
No documentation.
Type Parameter Description Default Value
string $message No documentation. none
emergency —publicfinal functionemergency(string$message,array$context =[])

System is unusable.

Type Parameter Description Default Value
string $message No documentation. none
array $context No documentation. []
alert —publicfinal functionalert(string$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.

Type Parameter Description Default Value
string $message No documentation. none
array $context No documentation. []
critical —publicfinal functioncritical(string$message,array$context =[])

Critical conditions.

Example: Application component unavailable, unexpected exception.

Type Parameter Description Default Value
string $message No documentation. none
array $context No documentation. []
error —publicfinal functionerror(string$message,array$context =[])

Runtime errors that do not require immediate action but should typically be logged and monitored.

Type Parameter Description Default Value
string $message No documentation. none
array $context No documentation. []
warning —publicfinal functionwarning(string$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.

Type Parameter Description Default Value
string $message No documentation. none
array $context No documentation. []
notice —publicfinal functionnotice(string$message,array$context =[])

Normal but significant events.

Type Parameter Description Default Value
string $message No documentation. none
array $context No documentation. []
info —publicfinal functioninfo(string$message,array$context =[])

Interesting events.

Example: User logs in, SQL logs.

Type Parameter Description Default Value
string $message No documentation. none
array $context No documentation. []
debug —publicfinal functiondebug(string$message,array$context =[])

Detailed debug information.

Type Parameter Description Default Value
string $message No documentation. none
array $context No documentation. []
log —publicfinal functionlog(mixed$level,string$message,array$context =[])

Logs with an arbitrary level.

Type Parameter Description Default Value
mixed $level No documentation. none
string $message No documentation. none
array $context No documentation. []
setOutputLevel —protectedfinal functionsetOutputLevel(int$outputLevel)
No documentation.
Type Parameter Description Default Value
int $outputLevel No documentation. none
setAnsify —protectedfinal functionsetAnsify(string$mode)
No documentation.
Type Parameter Description Default Value
string $mode No documentation. none