Lines Matching defs:log

14     /** @var string what kind of log is this */
22 * @param string $facility The type of log
38 * @param string $facility The type of log
50 * Convenience method to directly log to the error log
52 * @param string $message The log message
53 * @param mixed $details Any details that should be added to the log entry
56 * @return bool has a log been written?
60 return self::getInstance(self::LOG_ERROR)->log(
66 * Convenience method to directly log to the debug log
68 * @param string $message The log message
69 * @param mixed $details Any details that should be added to the log entry
72 * @return bool has a log been written?
76 return self::getInstance(self::LOG_DEBUG)->log(
82 * Convenience method to directly log to the deprecation log
84 * @param string $message The log message
85 * @param mixed $details Any details that should be added to the log entry
88 * @return bool has a log been written?
92 return self::getInstance(self::LOG_DEPRECATED)->log(
98 * Log a message to the facility log
100 * @param string $message The log message
101 * @param mixed $details Any details that should be added to the log entry
104 * @return bool has a log been written?
106 public function log($message, $details = null, $file = '', $line = 0)
138 * Construct the log file for the given day
150 return $conf['logdir'] . '/' . $this->facility . '/' . date('Y-m-d', $date) . '.log';
154 * Write the given lines to today's facility log
156 * @param string[] $lines the raw lines to append to the log
157 * @return bool true if the log was written