Lines Matching refs:facility
20 protected $facility; variable in dokuwiki\\Logger
30 * @param string $facility The type of log
32 protected function __construct($facility) argument
35 $this->facility = $facility;
40 if (in_array($facility, $dontlog)) $this->isLogging = false;
46 * @param string $facility The type of log
49 public static function getInstance($facility = self::LOG_ERROR) argument
51 if (empty(self::$instances[$facility])) {
52 self::$instances[$facility] = new Logger($facility);
54 return self::$instances[$facility];
131 'facility' => $this->facility,
232 return $conf['logdir'] . '/' . $this->facility . '/' . date('Y-m-d', $date) . '.log';
257 fwrite($stderr, "\n[" . $this->facility . '] ' . implode("\n", $lines) . "\n");