eq::base::Log Class Reference

#include <log.h>

Collaboration diagram for eq::base::Log:

[legend]

List of all members.


Detailed Description

The logging class.

Definition at line 123 of file base/log.h.


Public Member Functions

void indent ()
void exdent ()
void disableFlush ()
void enableFlush ()
void forceFlush ()
void disableHeader ()
void enableHeader ()
void notifyPerThreadDelete ()

Static Public Member Functions

static EQ_EXPORT Loginstance (const char *subdir, const char *file, const int line)
 The per-thread logger.
static EQ_EXPORT void exit ()
 Exit the log instance for the current thread.
static std::string & getLogLevelString ()
 The string representation of the current log level.

Static Public Attributes

static EQ_EXPORT int level = getLogLevel()
 The current log level.
static EQ_EXPORT unsigned topics = getLogTopics()
 The current log topics.

Member Function Documentation

EQ_EXPORT Log & eq::base::Log::instance ( const char *  subdir,
const char *  file,
const int  line 
) [static]

The per-thread logger.

Definition at line 97 of file log.cpp.

References setLogInfo().

Here is the call graph for this function:

EQ_EXPORT void eq::base::Log::exit (  )  [static]

Exit the log instance for the current thread.

Definition at line 111 of file log.cpp.

Referenced by eq::base::exit().

Here is the caller graph for this function:

std::string & eq::base::Log::getLogLevelString (  )  [static]

The string representation of the current log level.

Definition at line 76 of file log.cpp.

Referenced by eq::net::init().

Here is the caller graph for this function:


Member Data Documentation

EQ_EXPORT int eq::base::Log::level = getLogLevel() [static]

The current log level.

Definition at line 143 of file base/log.h.

EQ_EXPORT unsigned eq::base::Log::topics = getLogTopics() [static]

The current log topics.

Definition at line 146 of file base/log.h.

Referenced by eq::net::init().


The documentation for this class was generated from the following files:
Generated on Sat Dec 6 12:01:49 2008 for Equalizer 0.6 by  1.5.5