class SimpleLogger extends AbstractLogger (View source)

Methods

void
__construct(Configuration $configuration = null)

Constructor.

void
formatter(string $level, string $message, array $format)

Format log line output.

log($level, $message, array $context = [])

{@inheritdoc}

Details

void __construct(Configuration $configuration = null)

Constructor.

Parameters

Configuration $configuration Configuration class object

Return Value

void

final protected void formatter(string $level, string $message, array $format)

Format log line output.

Parameters

string $level log level
string $message log message
array $format log line format

Return Value

void

log($level, $message, array $context = [])

{@inheritdoc}

Parameters

$level
$message
array $context