src/Pay.php
protected function registerLogService()
    {
        $logger = Log::createLogger(
            $this->config->get('log.file'),
            'yansongda.pay',
            $this->config->get('log.level', 'warning'),
            $this->config->get('log.type', 'daily'),
            $this->config->get('log.max_file', 30)
        );

        Log::setLogger($logger);
    }
protected function registerLogService()
    {
        $logger = Log::createLogger(
            $this->config->get('log.file'),
            'yansongda.pay',
            $this->config->get('log.level', 'warning'),
            $this->config->get('log.type', 'daily'),
            $this->config->get('log.max_file', 30)
        );

        Log::setLogger($logger);
    }
protected function registerLogService ( ) { $ logger = Log :: createLogger ( $ this -> config -> get ( 'log.file' ) , 'yansongda.pay' , $ this -> config -> get ( 'log.level' , 'warning' ) , $ this -> config -> get ( 'log.type' , 'daily' ) , $ this -> config -> get ( 'log.max_file' , 30 ) ) ; Log :: setLogger ( $ logger ) ; }
Register log service.

@author yansongda <me@yansongda.cn>

@throws Exception
Register log service .