class Logger extends Logger (View source)

deprecated - Use the LoggerFactory to create this. Calling this directly will not load any handlers. Note – using LoggerFactory will not create this class, it will simply create Monolog logger instances. This class purely exists for backward compatibility purposes. Class Logger

Methods

getChannels()

Deprecated. Use Concrete\Core\Logging\Channels::getChannels() instead.

static 
clearAll()

Deprecated. Use Concrete\Core\Logging\Handler\DatabaseHandler::clearAll() instead.

static 
clearByChannel(string $channel)

Deprecated. Use Concrete\Core\Logging\Handler\DatabaseHandler::clearAll() instead.

static string
getLevelDisplayName(int $level)

Deprecated. Use Concrete\Core\Logging\Levels::getLevelDisplayName() instead.

static string
getChannelDisplayName(string $channel)

Deprecated. Use Concrete\Core\Logging\Channels::getChannelDisplayName() instead.

Details

getChannels()

Deprecated. Use Concrete\Core\Logging\Channels::getChannels() instead.

static clearAll()

Deprecated. Use Concrete\Core\Logging\Handler\DatabaseHandler::clearAll() instead.

static clearByChannel(string $channel)

Deprecated. Use Concrete\Core\Logging\Handler\DatabaseHandler::clearAll() instead.

Parameters

string $channel

static string getLevelDisplayName(int $level)

Deprecated. Use Concrete\Core\Logging\Levels::getLevelDisplayName() instead.

Parameters

int $level

Return Value

string

static string getChannelDisplayName(string $channel)

Deprecated. Use Concrete\Core\Logging\Channels::getChannelDisplayName() instead.

Parameters

string $channel

Return Value

string