Fantom

 

const class

webmod::LogMod

sys::Obj
  web::WebMod
    webmod::LogMod

LogMod is used log requests according to the W3C extended log file format.

See docLib::WebMod

Slots

fieldsSource

const Str fields := ...

Format of the log records as a string of #Fields names. See docLib::WebMod

fileSource

const File file := noFile

Output log file.

makeSource

new make(|LogMod|? f := null)

Constructor with it-block.

onServiceSource

override Void onService()

Overrides web::Weblet.onService

Doc inherited from web::Weblet.onService

Service a web request. The default implementation routes to onGet, onPost, etc based on the request's method.

onStartSource

override Void onStart()

Overrides web::WebMod.onStart

Doc inherited from web::WebMod.onStart

Initialization callback when web server is started.

onStopSource

override Void onStop()

Overrides web::WebMod.onStop

Doc inherited from web::WebMod.onStop

Cleanup callback when web server is stoppped.