void Logger::trace(std::string message) { if (!isTraceEnabled()) { return; } appendAll("TRACE", message); }
void Tracer::traceExit( TracerToken& token, const char* file, size_t line) { if (isTraceEnabled(token.component, LEVEL5) && token.method) _traceMethod( file, (Uint32)line, token.component, _METHOD_EXIT_MSG, token.method); }
void Tracer::traceCIMException( const TraceComponentId traceComponent, const Uint32 traceLevel, const CIMException& cimException) { if (isTraceEnabled(traceComponent, traceLevel)) { _traceCIMException(traceComponent, cimException); } }
void Tracer::traceEnter( TracerToken& token, const char* file, size_t line, TraceComponentId traceComponent, const char* method) { token.component = traceComponent; token.method = method; if (isTraceEnabled(traceComponent, LEVEL5)) { _traceMethod( file, (Uint32)line, traceComponent, _METHOD_ENTER_MSG, method); } }