You are here

protected property LoggerChannelPart::$access in Purge 8.3

Access levels for each RFC 5424 log type.

The constructor changes the granted levels to TRUE so that $grants doesn't have to be searched/iterated each and every time.

Type: bool[]

File

src/Logger/LoggerChannelPart.php, line 22

Class

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

Namespace

Drupal\purge\Logger

Code

protected $access = [
  RfcLogLevel::EMERGENCY => FALSE,
  RfcLogLevel::ALERT => FALSE,
  RfcLogLevel::CRITICAL => FALSE,
  RfcLogLevel::ERROR => FALSE,
  RfcLogLevel::WARNING => FALSE,
  RfcLogLevel::NOTICE => FALSE,
  RfcLogLevel::INFO => FALSE,
  RfcLogLevel::DEBUG => FALSE,
];