#include <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 Log & | instance (const char *subdir, const char *file, const int line) |
| The per-thread logger. | |
| static void | exit () |
| Exit the log instance for the current thread. | |
| static std::string & | getLogLevelString () |
| The string representation of the current log level. | |
| static void | setOutput (std::ostream &stream) |
| Change the output stream. | |
| static std::ostream & | getOutput () |
| Get the current output stream. | |
| static void | setClock (Clock *clock) |
| Set the reference clock. | |
Static Public Attributes | |
| static int | level = getLogLevel() |
| The current log level. | |
| static unsigned | topics = getLogTopics() |
| The current log topics. | |
For internal use only.
Definition at line 147 of file lib/base/log.h.
| Log & eq::base::Log::instance | ( | const char * | subdir, | |
| const char * | file, | |||
| const int | line | |||
| ) | [static] |
The per-thread logger.
Definition at line 120 of file log.cpp.
References setLogInfo().

| void eq::base::Log::exit | ( | ) | [static] |
Exit the log instance for the current thread.
Definition at line 134 of file log.cpp.
Referenced by setOutput().

| std::string & eq::base::Log::getLogLevelString | ( | ) | [static] |
The string representation of the current log level.
Definition at line 99 of file log.cpp.
Referenced by eq::net::init().

| void eq::base::Log::setOutput | ( | std::ostream & | stream | ) | [static] |
| std::ostream & eq::base::Log::getOutput | ( | ) | [static] |
| void eq::base::Log::setClock | ( | Clock * | clock | ) | [static] |
Set the reference clock.
The clock will be used instantly by all log outputs. Use 0 to reset the clock to the default clock.
| clock | the reference clock. |
Definition at line 147 of file log.cpp.
Referenced by eq::Config::Config(), and eq::Config::~Config().

int eq::base::Log::level = getLogLevel() [static] |
unsigned eq::base::Log::topics = getLogTopics() [static] |
The current log topics.
Definition at line 166 of file lib/base/log.h.
Referenced by eq::net::init().
0.9 by
1.5.8