#include <cstdio>
#include <sstream>
#include <string>
#include <iostream>
#include <sys/time.h>
Include dependency graph for src/logstream.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | Log |
| template class Log is used by classes ConfigureLOG and ConfigureLOGstream. More... | |
| class | ConfigureLOGstream |
| class ConfigureLOGstream Configure and write to a log stream; type-safe, thread-safe and very portable. More... | |
| class | ConfigureLOG |
| class ConfigureLOG - inherits class Log with type ConfigureLOGstream More... | |
Defines | |
| #define | FILELOG_MAX_LEVEL DEBUG7 |
| Define the maximum log level. | |
| #define | LOG(level) |
| define the macro that is used to write to the log stream | |
| #define | pLOGstrm ConfigureLOGstream::Stream() |
| #define | LOGstrm *(ConfigureLOGstream::Stream()) |
| #define | LOGlevel ConfigureLOG::ReportingLevel() |
Enumerations | |
| enum | LogLevel { ERROR, WARNING, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, DEBUG3, DEBUG4, DEBUG5, DEBUG6, DEBUG7 } |
| levels that the user may give the log stream output in the output statement, e.g. More... | |
|
|
Define the maximum log level.
Definition at line 23 of file src/logstream.hpp. |
|
|
Value: if(level > FILELOG_MAX_LEVEL) ;\ else if(level > ConfigureLOG::ReportingLevel() || !ConfigureLOGstream::Stream()) ;\ else ConfigureLOG().Put(level)
Definition at line 297 of file src/logstream.hpp. |
|
|
Definition at line 305 of file src/logstream.hpp. |
|
|
Definition at line 304 of file src/logstream.hpp. |
|
|
Definition at line 303 of file src/logstream.hpp. |
|
|
levels that the user may give the log stream output in the output statement, e.g. LOG(ERROR) << "This is an error message"; DEBUGn levels appear indented by 2*n spaces in the log stream. Default level is INFO.
Definition at line 19 of file src/logstream.hpp. |
1.3.9.1