Jabberd14-1.6.0/jabberd/log.c

Last-modified: 2007-04-14 (土) 20:30:53

このページを編集する際は,編集に関する方針に従ってください.

概要

/**
 * @file log.c
 * @brief functions used to generate log messages, and logging of debug messages
 *
 * Generated log messages are routed to a logging component using the XML router.
 * Generated debug log messages are not routed but either displayed to the
 * standard error output or sent to the syslog (Depending on the jabberd
 * configuration).
 */
ログメッセージを生成したりデバッグメッセージをロギングするために利用する関数群
生成されたログはXMLルータを利用したロギングコンポーネントによって分類される。
生成されたデバッグメッセージは分類されないが標準エラー出力に表示されるかsyslogに送られる。
(jabberdの設定に依存する。)

関数・マクロ

void set_cmdline_debug_flag(int v)

構造体

変数

/* global object */
int _debug_facility = -1;	/**< facility to use for sending debugging messages to syslog - or -1 for not using syslog but stderr */
int debug_flag = 0;		/**< the active debugging mask (this is a bitmask of ORed LOGT_* constents) */
int cmdline_debug_flag = 0;	/**< the debug mask given at the command line - this is ORed with the mask given in the configuration file */

実装

実装の説明を書いてください

呼出元

#related: relatedプラグインは廃止されました。