function RulesLog::log
Logs a log message.
See also
File
-
includes/
rules.core.inc, line 2724
Class
- RulesLog
- The rules default logging class.
Code
public function log($msg, $args = array(), $logLevel = self::INFO, $scope = NULL, $path = NULL) {
if ($logLevel >= $this->logLevel) {
$this->log[] = array(
$msg,
$args,
$logLevel,
microtime(TRUE),
$scope,
$path,
);
}
}