28 #ifndef ICL_CORE_LOGGING_LOG_STREAM_H_INCLUDED 29 #define ICL_CORE_LOGGING_LOG_STREAM_H_INCLUDED 47 class LogOutputStream;
69 const char *
nameCStr()
const {
return m_name.c_str(); }
72 void setActive(
bool active =
true) { m_active = active; }
101 void printConfiguration()
const;
104 #ifdef _IC_BUILDER_DEPRECATED_STYLE_ 170 : thread_id(thread_id),
171 log_level(log_level),
172 thread_stream(thread_stream)
static ThreadId m_empty_thread_id
ICL_CORE_OS_IMPL_NS::ThreadId ThreadId
ThreadStreamInfo(ThreadId thread_id, icl_core::logging::LogLevel log_level, icl_core::logging::ThreadStream *thread_stream)
#define ICL_CORE_VC_DEPRECATE_STYLE
const LogLevel cDEFAULT_LOG_LEVEL
The log level which is used initially.
#define ICL_CORE_GCC_DEPRECATE_STYLE_USE(arg)
icl_core::logging::LogLevel m_initial_level
Contains import/export definitions for the Win32 plattform.
const char * nameCStr() const
icl_core::logging::LogLevel initialLogLevel() const
Get the initial log level of this log stream.
#define ICL_CORE_VC_DEPRECATE_STYLE_USE(arg)
ThreadStreamMap m_thread_stream_map
void setActive(bool active=true)
Activates or deactivates the log stream.
std::list< ThreadStreamInfo > ThreadStreamMap
Manages the logging framework.
Implements a thread-safe logging framework.
Contains global thread related functions, encapsulated into the icl_core::os namespace.
icl_core::logging::ThreadStream * thread_stream
std::set< LogOutputStream * > m_output_stream_list
bool isActive() const
Checks if the log stream is active.
Implements a platform independent mutex.
This is an output stream class for log messages.
Contains icl_logging::LogLevel.
Implements the actual logging for an individual thread.
icl_core::logging::LogLevel log_level
Contains Interface base classes and base types.
icl_core::String name() const
Return the name of the log stream.
icl_core::logging::LogLevel getLogLevel() const
Get the log level of the current thread.
Contains icl_core::Noncopyable.
#define ICL_CORE_LOGGING_IMPORT_EXPORT
std::set< LogStream * > LogStreamSet
#define ICL_CORE_GCC_DEPRECATE_STYLE
Contains icl_core::logging::Semaphore.