function __construct($loggerSystem, array $arConfig = [])
{
$this->logger = $loggerSystem;
foreach ($arConfig as $levelInfo) {
if (in_array($levelInfo, $this->levelInfo)) {
$this->statLevelInfo[] = $levelInfo;
}
}
if (in_array('none', $arConfig)) {
$this->statLevelInfo = [];
}
}