00001 #ifndef _IT_BUS_LOGGING_DEFS_H_
00002 #define _IT_BUS_LOGGING_DEFS_H_
00003
00004
00005
00006
00007
00008 #define MAX_STACK_ALLOCATION 256
00009 #define MAX_TRACE_SIZE 16384
00010
00011
00012 typedef IT_UShort IT_TraceLevel;
00013
00014 const IT_TraceLevel IT_TRACE_FATAL = 64;
00015 const IT_TraceLevel IT_TRACE_ERROR = 32;
00016 const IT_TraceLevel IT_TRACE_WARNING = 16;
00017 const IT_TraceLevel IT_TRACE = 4;
00018 const IT_TraceLevel IT_TRACE_BUFFER = 2;
00019 const IT_TraceLevel IT_TRACE_METHODS = 1;
00020 const IT_TraceLevel IT_TRACE_METHODS_INTERNAL = 1;
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