BDE 4.14.0 Production release
Loading...
Searching...
No Matches
ball_log.h File Reference
#include <bsls_ident.h>
#include <balscm_version.h>
#include <ball_category.h>
#include <ball_categorymanager.h>
#include <ball_loggermanager.h>
#include <ball_severity.h>
#include <bslma_managedptr.h>
#include <bsls_annotation.h>
#include <bsls_keyword.h>
#include <bsls_performancehint.h>
#include <bsls_platform.h>
#include <bsl_ostream.h>
#include <bslmt_mutex.h>

Go to the source code of this file.

Classes

struct  ball::Log
 
class  ball::Log_Stream
 
class  ball::Log_Formatter
 

Macros

#define BALL_LOG_CATEGORY    (ball_log_getCategoryHolder(BALL_LOG_CATEGORYHOLDER)->category())
 
#define BALL_LOG_THRESHOLD    (ball_log_getCategoryHolder(BALL_LOG_CATEGORYHOLDER)->threshold())
 
#define BALL_LOG_RECORD   (ball_log_lOg_StReAm.record())
 
#define BALL_LOG_OUTPUT_STREAM   (ball_log_lOg_StReAm.stream())
 
#define BALL_LOG_SET_CATEGORY(CATEGORY)
 
#define BALL_LOG_SET_CATEGORY_HIERARCHICALLY(CATEGORY)
 
#define BALL_LOG_SET_DYNAMIC_CATEGORY(CATEGORY)
 
#define BALL_LOG_SET_DYNAMIC_CATEGORY_HIERARCHICALLY(CATEGORY)
 
#define BALL_LOG_SET_CLASS_CATEGORY(CATEGORY)
 
#define BALL_LOG_SET_CLASS_CATEGORY_HIERARCHICALLY(CATEGORY)
 
#define BALL_LOG_SET_NAMESPACE_CATEGORY(CATEGORY)
 
#define BALL_LOG_SET_NAMESPACE_CATEGORY_HIERARCHICALLY(CATEGORY)
 
#define BALL_LOG_STREAM_CONST_IMP(SEVERITY)
 
#define BALL_LOG_STREAM_IMP(SEVERITY)
 
#define BALL_LOG_STREAM(SEVERITY)    BALL_LOG_STREAM_IMP((SEVERITY)) BALL_LOG_OUTPUT_STREAM
 
#define BALL_LOG_TRACE
 
#define BALL_LOG_DEBUG
 
#define BALL_LOG_INFO
 
#define BALL_LOG_WARN
 
#define BALL_LOG_ERROR
 
#define BALL_LOG_FATAL
 
#define BALL_LOG_STREAM_BLOCK(SEVERITY)   BALL_LOG_STREAM_IMP((SEVERITY))
 
#define BALL_LOG_TRACE_BLOCK    BALL_LOG_STREAM_CONST_IMP(BloombergLP::ball::Severity::e_TRACE)
 
#define BALL_LOG_DEBUG_BLOCK    BALL_LOG_STREAM_CONST_IMP(BloombergLP::ball::Severity::e_DEBUG)
 
#define BALL_LOG_INFO_BLOCK    BALL_LOG_STREAM_CONST_IMP(BloombergLP::ball::Severity::e_INFO)
 
#define BALL_LOG_WARN_BLOCK    BALL_LOG_STREAM_CONST_IMP(BloombergLP::ball::Severity::e_WARN)
 
#define BALL_LOG_ERROR_BLOCK    BALL_LOG_STREAM_CONST_IMP(BloombergLP::ball::Severity::e_ERROR)
 
#define BALL_LOG_FATAL_BLOCK    BALL_LOG_STREAM_CONST_IMP(BloombergLP::ball::Severity::e_FATAL)
 
#define BALL_LOG_END   ""
 
#define BALL_LOGCB_STREAM_CONST_IMP(SEVERITY, CALLBACK)
 
#define BALL_LOGCB_STREAM_IMP(SEVERITY, CALLBACK)
 
#define BALL_LOGCB_STREAM(BALL_SEVERITY, CALLBACK)    BALL_LOGCB_STREAM_IMP((BALL_SEVERITY), (CALLBACK)) BALL_LOG_OUTPUT_STREAM
 
#define BALL_LOGCB_TRACE(CALLBACK)
 
#define BALL_LOGCB_DEBUG(CALLBACK)
 
#define BALL_LOGCB_INFO(CALLBACK)
 
#define BALL_LOGCB_WARN(CALLBACK)
 
#define BALL_LOGCB_ERROR(CALLBACK)
 
#define BALL_LOGCB_FATAL(CALLBACK)
 
#define BALL_LOGCB_STREAM_BLOCK(BALL_SEVERITY, CALLBACK)    BALL_LOGCB_STREAM_IMP((BALL_SEVERITY), (CALLBACK))
 
#define BALL_LOGCB_TRACE_BLOCK(CALLBACK)
 
#define BALL_LOGCB_DEBUG_BLOCK(CALLBACK)
 
#define BALL_LOGCB_INFO_BLOCK(CALLBACK)
 
#define BALL_LOGCB_WARN_BLOCK(CALLBACK)
 
#define BALL_LOGCB_ERROR_BLOCK(CALLBACK)
 
#define BALL_LOGCB_FATAL_BLOCK(CALLBACK)
 
#define BALL_LOGCB_END   ""
 
#define BALL_LOGVA_CONST_IMP(SEVERITY, ...)
 
#define BALL_LOGVA(SEVERITY, ...)
 
#define BALL_LOGVA_TRACE(...)    BALL_LOGVA_CONST_IMP(BloombergLP::ball::Severity::e_TRACE, __VA_ARGS__)
 
#define BALL_LOGVA_DEBUG(...)    BALL_LOGVA_CONST_IMP(BloombergLP::ball::Severity::e_DEBUG, __VA_ARGS__)
 
#define BALL_LOGVA_INFO(...)    BALL_LOGVA_CONST_IMP(BloombergLP::ball::Severity::e_INFO, __VA_ARGS__)
 
#define BALL_LOGVA_WARN(...)    BALL_LOGVA_CONST_IMP(BloombergLP::ball::Severity::e_WARN, __VA_ARGS__)
 
#define BALL_LOGVA_ERROR(...)    BALL_LOGVA_CONST_IMP(BloombergLP::ball::Severity::e_ERROR, __VA_ARGS__)
 
#define BALL_LOGVA_FATAL(...)    BALL_LOGVA_CONST_IMP(BloombergLP::ball::Severity::e_FATAL, __VA_ARGS__)
 
#define BALL_LOG_IS_ENABLED(SEVERITY)
 

Functions

const BloombergLP::ball::CategoryHolder * ball::ball_log_getCategoryHolder (const BloombergLP::ball::CategoryHolder &categoryHolder)
 

Detailed Description

The content of this file has been pre-processed for Doxygen.