You are here

function _filelog_buffer in File Log 6.2

2 calls to _filelog_buffer()
filelog_watchdog in ./filelog.module
Implementation of hook_watchdog().
_filelog_shutdown in ./filelog.module

File

./filelog.module, line 379
Writes logging messages into files.

Code

function _filelog_buffer($path, $msg) {
  static $buffer = array();
  if (is_null($path) || is_null($msg)) {
    return $buffer;
  }
  if (!isset($buffer[$path])) {
    $buffer[$path] = array();
  }
  $buffer[$path][] = $msg;
}