int degree specifies the severity of the error. The parameter value must be one of the following constants:
LOG_VERBOSE — Debug message
LOG_VERBOSE — Debug message
LOG_INFORM — Information message
LOG_WARN — Warning
LOG_FAILURE — Operation failed
LOG_MISCONFIG— Misconfiguration
LOG_SECURITY — Authentication or authorization failure
LOG_CATASTROPHE— Nonrecoverable server error
char *func is the name of the function where the error has occurred.
Session *sn is the session.
Request *rq is the request.
char *fmt specifies the format for the printf function that delivers the message.