Main Page | Modules | Data Structures | File List | Data Fields

/extra/work/state-dev/src/sul/sul_logging.h

00001 /* ----------------------------------------------------------------------------
00002  * @(#) $Header: /home/systems/jlewalle/dev/jacob-cvs/projects/state/src/sul/sul_logging.h,v 1.7 2003/10/06 20:48:08 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_SUL_LOGGING_H_HEADER__)
00006 #define _INCLUDED_SUL_LOGGING_H_HEADER__
00007 
00014 #define SUL_LVL_1  1
00015 #define SUL_LVL_2  2
00016 #define SUL_LVL_3  3
00017 #define SUL_LVL_4  4
00018 #define SUL_LVL_5  5
00019 #define SUL_LVL_6  6
00020 #define SUL_LVL_7  7
00021 #define SUL_LVL_8  8
00022 #define SUL_LVL_9  9
00023 
00031 SUL_DECLARE(sul_error_t *)
00032 sul_logging_create(apr_pool_t *pool);
00033 
00039 SUL_DECLARE(void)
00040 sul_logging_level_set(long level);
00041 
00047 SUL_DECLARE(void)
00048 sul_logging_toggle(sul_boolean_t enabled);
00049 
00055 SUL_DECLARE(sul_error_t *)
00056 sul_logging_destroy(void);
00057 
00064 SUL_DECLARE(void)
00065 sul_log_info(long level, const char *msg, ...);
00066 
00072 SUL_DECLARE(void)
00073 sul_log_fatal(const char *msg, ...);
00074 
00080 SUL_DECLARE(void)
00081 sul_log_warn(const char *msg, ...);
00082 
00088 SUL_DECLARE(void)
00089 sul_log_debug(const char *msg, ...);
00090 
00096 SUL_DECLARE(void)
00097 sul_log_error(const char *msg, ...);
00098 
00105 SUL_DECLARE(void)
00106 sul_log(const char *facility, const char *msg, ...);
00107 
00115 SUL_DECLARE(void)
00116 sul_vlog(const char *facility, const char *msg, va_list var_args);
00117 
00124 SUL_DECLARE(void)
00125 sul_logfile(const char *facility, const char *msg, ...);
00126 
00129 #endif

Generated on Wed Apr 28 09:38:34 2004 for State by doxygen 1.3.5