Beispiel #1
0
 /**
  * Write a log
  * The log will be save on file defined in Configs
  *
  * @param string $message Message to log
  * @param string|integer $type Log type
  * @throws \RuntimeException case logs is not actived
  * @return mixed Return of Logger\Log\File::write()
  */
 public function writeLog($message, $type = LOG_ERR)
 {
     return FileLogger::write($type, print_r($message, true));
 }