You are here

public function LoggerChannelPart::isDebuggingEnabled in Purge 8.3

Determine whether this channel has a RfcLogLevel::DEBUG grant.

Return value

bool Whether debugging is enabled.

Overrides LoggerChannelPartInterface::isDebuggingEnabled

File

src/Logger/LoggerChannelPart.php, line 76

Class

LoggerChannelPart
Provides a subchannel whichs logs to a single main channel with permissions.

Namespace

Drupal\purge\Logger

Code

public function isDebuggingEnabled() {
  return $this->access[RfcLogLevel::DEBUG];
}