class InvokableLogger implements LoggerAwareInterface, InvokableLoggerInterface, LevelsAwareInterface

Class InvokableLogger.

Traits

Class LoggerAwareTrait.
Class LevelsAwareTrait.

Methods

setLogger( LoggerInterface $logger)

No description

LoggerInterface
getLogger()

No description

setLevelDefault( string $level)

No description

string
getLevelDefault()

No description

string[]
getLevelListing()

No description

__construct( LoggerInterface $logger, string|null $levelDefault = null)

No description

__invoke( string $message, null|string $level = null, array $context = array())

No description

Details

in LoggerAwareTrait at line line 30
setLogger( LoggerInterface $logger)

Parameters

LoggerInterface $logger

in LoggerAwareTrait at line line 38
LoggerInterface getLogger()

Return Value

LoggerInterface

in LevelsAwareTrait at line line 28
setLevelDefault( string $level)

Parameters

string $level

in LevelsAwareTrait at line line 36
string getLevelDefault()

Return Value

string

in LevelsAwareTrait at line line 44
string[] getLevelListing()

Return Value

string[]

at line line 30
__construct( LoggerInterface $logger, string|null $levelDefault = null)

Parameters

LoggerInterface $logger
string|null $levelDefault

at line line 43
__invoke( string $message, null|string $level = null, array $context = array())

Parameters

string $message
null|string $level
array $context