extern int log_create

(int mode, char* filename, char* ident,
  int severity, int facility)

Explicitly initialize the logging system.

Documentation

Explicitly initialize the logging system.

Call this or log_config before creating your first connection structure.

Parameters:
mode - Logging mode, any of:
filename - File name to use, if LOG_MODE_FILE specified.
ident - A string to be prepended to each log entry.
severity - The lowest severity to be logged, cf, bp_log.
facility - A syslog(3) facility.
Returns:
0 or errno.

Home Alphabetic index



This page was generated with the help of DOC++.