The actual implementation of the Logger.
More...
#include <logger.h>
The actual implementation of the Logger.
Definition at line 11 of file logger.h.
◆ log_level
Enumerator |
---|
DEBUG | |
INFO | |
WARNING | |
ERROR | |
FATAL | |
Definition at line 14 of file logger.h.
◆ ~LogImp()
virtual FullPhysics::LogImp::~LogImp |
( |
| ) |
|
|
inlinevirtual |
◆ flush()
virtual void FullPhysics::LogImp::flush |
( |
log_level |
l | ) |
|
|
pure virtual |
◆ print()
void FullPhysics::LogImp::print |
( |
std::ostream & |
Os | ) |
|
|
inline |
◆ print_to_string()
Print to string.
This is primarily useful for SWIG wrappers to this class, e.g. a to_s method in ruby.
Definition at line 31 of file printable.h.
◆ stream()
virtual std::ostream* FullPhysics::LogImp::stream |
( |
| ) |
|
|
pure virtual |
◆ write() [1/3]
template<class T >
void FullPhysics::LogImp::write |
( |
log_level |
l, |
|
|
const T & |
v |
|
) |
| |
|
inline |
◆ write() [2/3]
void LogImp::write |
( |
log_level |
l, |
|
|
const std::string & |
v |
|
) |
| |
Write to a log.
Definition at line 45 of file logger.cc.
◆ write() [3/3]
void FullPhysics::LogImp::write |
( |
log_level |
l, |
|
|
const char * |
v |
|
) |
| |
|
inline |
◆ os
std::ostringstream FullPhysics::LogImp::os |
|
protected |
The documentation for this class was generated from the following files: