Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

log.h

Go to the documentation of this file.
00001 #ifndef __LOG__
00002 #define __LOG__
00003 
00004 #ifdef __cplusplus
00005 extern "C" {
00006 #endif
00007 
00008 #define LOG_ERR     1, __FILE__, __LINE__, 0, 0, 0
00009 #define LOG_ERR_API   1, __FILE__, __LINE__, 1, 0, 0
00010 #define LOG_ERR_DUMP  1, __FILE__, __LINE__, 0, 1, 0
00011 
00012 #define LOG_WARN    2, __FILE__, __LINE__, 0, 0, 0
00013 #define LOG_WARN_DUMP 2, __FILE__, __LINE__, 0, 1, 0
00014 
00015 #define LOG_INFO    4, __FILE__, __LINE__, 0, 0, 0
00016 #define LOG_INFO_NOTS 4, __FILE__, __LINE__, 0, 0, 1
00017 #define LOG_INFO_DUMP 4, __FILE__, __LINE__, 0, 1, 0
00018 
00019 void logit(unsigned long level, const char *file, const int line, int api_err,
00020   int dumpBuffer, int nots, const char *format, ...);
00021 
00022 #ifdef __cplusplus
00023 }
00024 #endif
00025 
00026 #endif

Generated on Fri Feb 27 12:16:51 2004 for journaline_demo by doxygen1.2.18