PHP Class Thruway\Logging\Logger

Afficher le fichier Open project: voryx/thruway Class Usage Examples

Méthodes publiques

Méthode Description
alert ( null $object = null, $message, array $context = [] ) : null
critical ( null $object = null, $message, array $context = [] ) : null
debug ( null $object = null, $message, array $context = [] ) : null
emergency ( null $object = null, $message, array $context = [] ) : null
error ( null $object = null, $message, array $context = [] ) : null
getDebug ( )
info ( null $object = null, $message, array $context = [] ) : null
log ( null $object = null, $level, $message, array $context = [] ) : null
notice ( null $object = null, $message, array $context = [] ) : null
set ( Psr\Log\LoggerInterface $logger )
setDebug ( $debug = false )
warning ( $object = null, $message, array $context = [] ) : null

Méthodes protégées

Méthode Description
__construct ( ) Protected constructor to prevent creating a new instance of the *Singleton* via the new operator from outside of this class.

Private Methods

Méthode Description
__clone ( ) : void Private clone method to prevent cloning of the instance of the *Singleton* instance.
__wakeup ( ) : void Private unserialize method to prevent unserializing of the *Singleton* instance.

Method Details

__construct() protected méthode

Protected constructor to prevent creating a new instance of the *Singleton* via the new operator from outside of this class.
protected __construct ( )

alert() public static méthode

public static alert ( null $object = null, $message, array $context = [] ) : null
$object null
$message
$context array
Résultat null

critical() public static méthode

public static critical ( null $object = null, $message, array $context = [] ) : null
$object null
$message
$context array
Résultat null

debug() public static méthode

public static debug ( null $object = null, $message, array $context = [] ) : null
$object null
$message
$context array
Résultat null

emergency() public static méthode

public static emergency ( null $object = null, $message, array $context = [] ) : null
$object null
$message
$context array
Résultat null

error() public static méthode

public static error ( null $object = null, $message, array $context = [] ) : null
$object null
$message
$context array
Résultat null

getDebug() public static méthode

public static getDebug ( )

info() public static méthode

public static info ( null $object = null, $message, array $context = [] ) : null
$object null
$message
$context array
Résultat null

log() public static méthode

public static log ( null $object = null, $level, $message, array $context = [] ) : null
$object null
$level
$message
$context array
Résultat null

notice() public static méthode

public static notice ( null $object = null, $message, array $context = [] ) : null
$object null
$message
$context array
Résultat null

set() public static méthode

public static set ( Psr\Log\LoggerInterface $logger )
$logger Psr\Log\LoggerInterface

setDebug() public static méthode

public static setDebug ( $debug = false )

warning() public static méthode

public static warning ( $object = null, $message, array $context = [] ) : null
$message
$context array
Résultat null