Module Restful.Log.Year_month

module Year_month: Restful.LOG 

type data 
val init : string list -> data
val handler : data ->
Restful.Types.mode -> Netcgi.cgi -> Nethttp.http_status -> unit

Type of function which handles logging. These log messages are analogous to those in Apache's access_log file. Takes a Restful.Types.mode and a CGI activation object and an HTTP status then generates a log message (or not).

See Restful.Log for functions that may be useful in writing your own LOG modules, and for several pre-defined LOG modules that you might use instead.

val error : ('a, unit, string, unit) Stdlib.format4 -> 'a

Type of function that generates error messages; these messages are analogous to those in Apache's error_log file.