\Pop\Log\WriterWriterInterface

Log writer interface

Summary

Methods
Constants
writeLog()
writeCustomLog()
getContext()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

writeLog()

writeLog(mixed  $level, string  $message, array  $context = array()) : \Pop\Log\Writer\WriterInterface

Write to the log

Parameters

mixed $level
string $message
array $context

Returns

\Pop\Log\Writer\WriterInterface

writeCustomLog()

writeCustomLog(string  $content) : \Pop\Log\Writer\WriterInterface

Write to a custom log

Parameters

string $content

Returns

\Pop\Log\Writer\WriterInterface

getContext()

getContext(array  $context = array()) : string

Determine

Parameters

array $context

Returns

string