src/BotManager.php
public function initLogging(array $log_paths): self
    {
        foreach ($log_paths as $logger => $logfile) {
            ('debug' === $logger) && TelegramLog::initDebugLog($logfile);
            ('error' === $logger) && TelegramLog::initErrorLog($logfile);
            ('update' === $logger) && TelegramLog::initUpdateLog($logfile);
        }

        return $this;
    }
public function initLogging(array $log_paths): self
    {
        foreach ($log_paths as $logger => $logfile) {
            ('debug' === $logger) && TelegramLog::initDebugLog($logfile);
            ('error' === $logger) && TelegramLog::initErrorLog($logfile);
            ('update' === $logger) && TelegramLog::initUpdateLog($logfile);
        }

        return $this;
    }
public function initLogging ( array $ log_paths ) : self { foreach ( $ log_paths as $ logger => $ logfile ) { ( 'debug' === $ logger ) && TelegramLog :: initDebugLog ( $ logfile ) ; ( 'error' === $ logger ) && TelegramLog :: initErrorLog ( $ logfile ) ; ( 'update' === $ logger ) && TelegramLog :: initUpdateLog ( $ logfile ) ; } return $ this ; }
Initialise all loggers.

@param array $log_paths

@return \TelegramBot\TelegramBotManager\BotManager
@throws \Exception
Initialise all loggers .