Writing to a log stream made easy, typesafe, threadsafe and portable. Inspired by Petru Marginean, "Logging in C++," Dr.Dobbs, October 2007.
Definition in file logstream.hpp.
#include <cstdio>#include <sstream>#include <string>#include <iostream>#include "gnsstk_export.h"#include <sys/time.h>

Go to the source code of this file.
Classes | |
| class | gnsstk::ConfigureLOG |
| class ConfigureLOG - inherits class Log with type ConfigureLOGstream More... | |
| class | gnsstk::ConfigureLOGstream |
| class | gnsstk::Log< T > |
Namespaces | |
| gnsstk | |
| For Sinex::InputHistory. | |
Macros | |
| #define | FILELOG_MAX_LEVEL DEBUG7 |
| Define the maximum log level. More... | |
| #define | LOG(level) |
| define the macro that is used to write to the log stream More... | |
| #define | LOGlevel ConfigureLOG::ReportingLevel() |
| #define | LOGstrm *(ConfigureLOGstream::Stream()) |
| #define | pLOGstrm ConfigureLOGstream::Stream() |
| #define FILELOG_MAX_LEVEL DEBUG7 |
Define the maximum log level.
Definition at line 61 of file logstream.hpp.
| #define LOG | ( | level | ) |
define the macro that is used to write to the log stream
Definition at line 315 of file logstream.hpp.
| #define LOGlevel ConfigureLOG::ReportingLevel() |
Definition at line 323 of file logstream.hpp.
| #define LOGstrm *(ConfigureLOGstream::Stream()) |
Definition at line 322 of file logstream.hpp.
| #define pLOGstrm ConfigureLOGstream::Stream() |
Definition at line 321 of file logstream.hpp.