class Logger extends SimpleLogger (View source)

Methods

void
__construct(string $logfile)

Constructor.

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

Format log line output.

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

{@inheritdoc}

Details

void __construct(string $logfile)

Constructor.

Parameters

string $logfile

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