it_bus/logging_defs.h

00001 #ifndef _IT_BUS_LOGGING_DEFS_H_
00002 #define _IT_BUS_LOGGING_DEFS_H_
00003 
00004 // @Copyright 2005 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 
00008 #define MAX_STACK_ALLOCATION 256
00009 #define MAX_TRACE_SIZE 16384
00010 
00011 //these are now equal to ART logging values, these are just for backward compatibility
00012 typedef IT_UShort IT_TraceLevel;
00013                                                     //value to put in event_log:filters
00014 const IT_TraceLevel IT_TRACE_FATAL = 64;            //FATAL
00015 const IT_TraceLevel IT_TRACE_ERROR = 32;            //ERROR
00016 const IT_TraceLevel IT_TRACE_WARNING = 16;          //WARNING
00017 const IT_TraceLevel IT_TRACE = 4;                   //INFO_HIGH
00018 const IT_TraceLevel IT_TRACE_BUFFER = 2;            //INFO_MED
00019 const IT_TraceLevel IT_TRACE_METHODS = 1;           //INFO_LOW
00020 const IT_TraceLevel IT_TRACE_METHODS_INTERNAL = 1;  //INFO_LOW
00021 
00022 namespace IT_Bus
00023 {
00024     namespace Logging
00025     {
00026         class BusLogger;
00027         class LoggingConfig;
00028     }
00029 }
00030 #ifndef BUS_LOGGER_MEM_VAR
00031 #define BUS_LOGGER_MEM_VAR _it_bus_logger
00032 #endif
00033 
00034 #define IT_DECLARE_BUS_LOGGER_MEM IT_Bus::Logging::BusLogger* _it_bus_logger ;
00035 
00036 #define IT_DECLARE_BUS_LOGGER_PARAM IT_Bus::Logging::BusLogger* bus_logger
00037 #define IT_INIT_BUS_LOGGER_MEM_PARAM _it_bus_logger(bus_logger)
00038 
00039 
00040 #endif  

Generated on Thu Sep 7 11:38:54 2006 for Artix by  doxygen 1.4.7