Fan

 

const class

webapp::LogStep

sys::Obj
  web::WebStep
    webapp::WebAppStep
      webapp::LogStep

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

See docLib::WebApp

Slots

fieldsSource

const Str fields := ...

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

fileSource

const File? file

Output log file.

onAfterServiceSource

override Void onAfterService(WebReq req, WebRes res)

Callback after we've serviced the request.

onBeforeServiceSource

override Void onBeforeService(WebReq req, WebRes res)

Callback before we begin servicing the request.

onStartSource

override Void onStart(WebService service)

Overrides web::WebStep.onStart

Doc inherited from web::WebStep.onStart

Callback when WebService is started.

onStopSource

override Void onStop(WebService service)

Overrides web::WebStep.onStop

Doc inherited from web::WebStep.onStop

Callback when WebService is stopped.