Class NullLogger
This class should be used ONLY for basic examples!
In real case please use Psr\Log\LoggerInterface
Class NullLogger
-
Team3\PayU\NullLogger
implements
Psr\Log\LoggerInterface
Methods summary
public
null
|
#
emergency( string $message, array $context = [] )
System is unusable.
Parameters
Returns
null
|
public
null
|
#
alert( string $message, array $context = [] )
Action must be taken immediately.
Action must be taken immediately.
Example: Entire website down, database unavailable, etc. This should
trigger the SMS alerts and wake you up.
Parameters
Returns
null
|
public
null
|
#
critical( string $message, array $context = [] )
Critical conditions.
Example: Application component unavailable, unexpected exception.
Parameters
Returns
null
|
public
null
|
#
error( string $message, array $context = [] )
Runtime errors that do not require immediate action but should typically
be logged and monitored.
Runtime errors that do not require immediate action but should typically
be logged and monitored.
Parameters
Returns
null
|
public
null
|
#
warning( string $message, array $context = [] )
Exceptional occurrences that are not errors.
Exceptional occurrences that are not errors.
Example: Use of deprecated APIs, poor use of an API, undesirable things
that are not necessarily wrong.
Parameters
Returns
null
|
public
null
|
#
notice( string $message, array $context = [] )
Normal but significant events.
Normal but significant events.
Parameters
Returns
null
|
public
null
|
#
info( string $message, array $context = [] )
Interesting events.
Example: User logs in, SQL logs.
Parameters
Returns
null
|
public
null
|
#
debug( string $message, array $context = [] )
Detailed debug information.
Detailed debug information.
Parameters
Returns
null
|
public
null
|
#
log( mixed $level, string $message, array $context = [] )
Logs with an arbitrary level.
Logs with an arbitrary level.
Parameters
Returns
null
|
Magic methods summary