docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 4.5System Developer Manual PikeThe Roxen Module API
Copyright © 2012, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

   

Introduction to Roxen Modules
The Module Type Calling Sequence
Constants Common to All Modules
Callback Methods Common to All Modules
API Methods Common to All Modules
Module Variables
Tag Modules
Location (Filesystem) Modules
File Extension Modules
Filter Modules
Authentication Modules
Logger Modules
First Modules
Last Modules
Provider Modules
Content Type Modules
Directory Listing Modules

Logger Modules

A log module handles logging of requests. It can be used to log requests by other means then log files, or to disable the builtin logging for some requests.

The module type constant is MODULE_LOGGER.

int(0..1) log( RequestID id, mapping response )

id is the request information object, response is a mapping containing the response information that are about to be sent to the browser. If the log() method returns one the logging will stop, and no other log modules will be called nor will the internal logging take place.