Overview

Namespaces

  • Net
    • Bazzline
      • Component
        • PsrAndLog4PhpAdapter

Classes

  • Log4PhpToPsrLoggerAdapter
  • PsrToLog4PhpAdapter
  • Overview
  • Namespace
  • Class

Class Log4PhpToPsrLoggerAdapter

Class Log4PhpToPsrLoggerAdapter

Logger
Extended by Net\Bazzline\Component\PsrAndLog4PhpAdapter\Log4PhpToPsrLoggerAdapter
Namespace: Net\Bazzline\Component\PsrAndLog4PhpAdapter
Package: Net\Bazzline\Component\PsrAndLog4PhpAdapter
Located at Log4PhpToPsrLoggerAdapter.php
Methods summary
public
# injectPsrLogger( Psr\Log\LoggerInterface $psrLogger )

Log4PhpToPsrLoggerAdapter constructor.

Log4PhpToPsrLoggerAdapter constructor.

Parameters

$psrLogger
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.

PHP Psr And Log4Php Adapter Component by bazzline.net API documentation generated by ApiGen