const class webmod::LogMod
sys::Obj web::WebMod webmod::LogMod
LogMod is used log requests according to the W3C extended log file format.
See pod doc
- dir
-
const File dir := noDir
Directory used to store log file(s).
- fields
-
const Str fields := ...
Format of the log records as a string of #Fields names. See pod doc
- filename
-
const Str filename := ""
Log filename pattern. The name may contain a pattern between
{}
using the pattern format ofDateTime.toLocale
. For example to maintain a log file per month, use a filename such as "web-{YYYY-MM}.log". - make
-
new make(|This|? f := null)
Constructor with it-block.
- onService
-
virtual override Void onService()
- onStop
-
virtual override Void onStop()