⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cl_log.h

📁 在LINUX下实现HA的源代码
💻 H
字号:
/* $Id: cl_log.h,v 1.2.4.1 2004/04/20 07:57:54 alan Exp $ */#ifndef _CLPLUMBING_CL_LOG_H#	define _CLPLUMBING_CL_LOG_H#	include <glib.h>#	include <syslog.h>void            cl_log(int priority, const char * fmt, ...) G_GNUC_PRINTF(2,3);void            cl_perror(const char * fmt, ...) G_GNUC_PRINTF(1,2);void		cl_log_enable_stderr(int truefalse);void		cl_log_send_to_logging_daemon(int truefalse);void		cl_log_set_facility(int facility);void		cl_log_set_entity(const char *	entity);void		cl_log_set_logfile(const char *	path);void		cl_log_set_debugfile(const char * path);void		cl_glib_msg_handler(const gchar *log_domain,		GLogLevelFlags log_level, const gchar *message,		gpointer user_data);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -