|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://wiki.cs.msu.ru/System/PerlDoc?module=Foswiki::Logger::PlainFile
Дата изменения: Unknown Дата индексирования: Mon Apr 11 19:05:52 2016 Кодировка: koi8-r |
internal package Foswiki::Logger::PlainFile internal package Foswiki::Logger::PlainFile is a Foswiki::Logger Plain file implementation of the Foswiki Logger interface. Mostly compatible with TWiki (and Foswiki 1.0.0) log files, except that dates are recorded using ISO format, and include the time, and it dies when a log can't be written (rather than printing a warning).
This logger implementation maps groups of levels to a single logfile, viz.debug messages are output to $Foswiki::cfg{Log}{Dir}/debug.log
info messages are output to $Foswiki::cfg{Log}{Dir}/events.log
warning, error, critical, alert, emergency messages are output to $Foswiki::cfg{Log}{Dir}/error.log.
error, critical, alert, and emergency messages are also written to standard error (the webserver log file, usually)
ObjectMethod log($level, @fields) StaticMethod eachEventSince($time, $level) → $iterator info messages are output together.
warning, error, critical, alert, emergency messages are output together.
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.