Class Log4PhpToPsrLoggerAdapter
Class Log4PhpToPsrLoggerAdapter
-
Logger
-
Net\Bazzline\Component\PsrAndLog4PhpAdapter\Log4PhpToPsrLoggerAdapter
Methods summary
public
|
#
injectPsrLogger( Psr\Log\LoggerInterface $psrLogger )
Log4PhpToPsrLoggerAdapter constructor.
Log4PhpToPsrLoggerAdapter constructor.
Parameters
|
public
|
#
trace( mixed $message, Exception $throwable = null )
Log a message object with the TRACE level.
Log a message object with the TRACE level.
Parameters
- $message
- message
- $throwable
Optional throwable information to include
in the logging event.
|
public
|
#
debug( mixed $message, Exception $throwable = null )
Log a message object with the DEBUG level.
Log a message object with the DEBUG level.
Parameters
- $message
- message
- $throwable
Optional throwable information to include
in the logging event.
|
public
|
#
info( mixed $message, Exception $throwable = null )
Log a message object with the INFO Level.
Log a message object with the INFO Level.
Parameters
- $message
- message
- $throwable
Optional throwable information to include
in the logging event.
|
public
|
#
warn( mixed $message, Exception $throwable = null )
Log a message with the WARN level.
Log a message with the WARN level.
Parameters
- $message
- message
- $throwable
Optional throwable information to include
in the logging event.
|
public
|
#
error( mixed $message, Exception $throwable = null )
Log a message object with the ERROR level.
Log a message object with the ERROR level.
Parameters
- $message
- message
- $throwable
Optional throwable information to include
in the logging event.
|
public
|
#
fatal( mixed $message, Exception $throwable = null )
Log a message object with the FATAL level.
Log a message object with the FATAL level.
Parameters
- $message
- message
- $throwable
Optional throwable information to include
in the logging event.
|
public
|
#
log( LoggerLevel $level, mixed $message, Exception $throwable = null )
Log a message using the provided logging level.
Log a message using the provided logging level.
Parameters
- $level
- The logging level.
- $message
- Message to log.
- $throwable
Optional throwable information to include
in the logging event.
|