class DebugBarLogWriter extends Zend_Log_Writer_Abstract (View source)

Custom writer for SS_Log

Constants

LOG_LEVEL_DEFAULT

The default log level to use if not recognised (MessagesCollector format)

Properties

protected array $levelsMap

Map SS_Log levels to MessagesCollector levels

Methods

public static 
factory(array|Zend_Config $config)

No description

public
_write(array $event)

No description

protected
string
convertLogLevel(string $input)

Convert a SilverStripe log level (see SS_Log) to a MessagesCollector level

Details

static DebugBarLogWriter factory(array|Zend_Config $config)

No description

Parameters

array|Zend_Config $config

Return Value

DebugBarLogWriter

_write(array $event)

No description

Parameters

array $event

protected string convertLogLevel(string $input)

Convert a SilverStripe log level (see SS_Log) to a MessagesCollector level

Parameters

string $input

SS_Log level

Return Value

string

MessagesCollector level