trait MonologTrait

Monolog trait.

Methods

bool
log(string $message, array $context = array(), int $level = Logger::INFO)

Adds a log record.

Details

at line 32
bool log(string $message, array $context = array(), int $level = Logger::INFO)

Adds a log record.

Parameters

string $message The log message
array $context The log context
int $level The logging level

Return Value

bool Whether the record has been processed