\Pop\Log\WriterAbstractWriter

Log writer abstract class

Summary

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

Methods

writeLog()

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

Write to the log

Parameters

mixed $level
string $message
array $context

Returns

\Pop\Log\Writer\AbstractWriter

writeCustomLog()

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

Write to a custom log

Parameters

string $content

Returns

\Pop\Log\Writer\AbstractWriter

getContext()

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

Get context for log

Parameters

array $context

Returns

string