PerlDoc

26 August 2025 - 17:41 | Version 1 |
See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::Logger
Child packages:

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.

ObjectMethod log($level, @fields)

See Foswiki::Logger for the interface.

ObjectMethod eachEventSince($time, \@levels, $version) → $iterator

See Foswiki::Logger for the interface.