InitLogs() защищенный Метод

HTTP headers and SOAP XML are logged to the soap_xml.log file and all request information is logged to the request_info.log file under the logs directory.
protected InitLogs ( )
 /**
  * Overrides AdsUser::InitLogs(), adding an additional log for report
  * download requests.
  */
 protected function InitLogs()
 {
     parent::InitLogs();
     Logger::LogToFile(ReportUtils::$LOG_NAME, $this->GetLogsDirectory() . "/report_download.log");
     Logger::SetLogLevel(ReportUtils::$LOG_NAME, Logger::$FATAL);
 }
Пример #2
0
 /**
  * Overrides AdsUser::InitLogs(), adding an additional log for report
  * download requests.
  */
 protected function InitLogs()
 {
     parent::InitLogs();
     Logger::LogToFile(self::REPORT_LOG_CHANNEL_NAME, $this->GetLogsDirectory() . DIRECTORY_SEPARATOR . self::REPORT_LOG_FILE_NAME);
     Logger::SetLogLevel(self::REPORT_LOG_CHANNEL_NAME, Logger::$FATAL);
 }