LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
a formatter that renders records in a netlogger-like format. More...
#include <LogFormatter.h>
Public Member Functions | |
NetLoggerFormatter (const std::string &valueDelim=defaultValDelim) | |
NetLoggerFormatter (const NetLoggerFormatter &that) | |
virtual | ~NetLoggerFormatter () |
NetLoggerFormatter & | operator= (const NetLoggerFormatter &that) |
const std::string & | getValueDelimiter () const |
virtual void | write (std::ostream *strm, const LogRecord &rec) |
Public Member Functions inherited from lsst::pex::logging::LogFormatter | |
LogFormatter () | |
LogFormatter (const LogFormatter &that) | |
virtual | ~LogFormatter () |
LogFormatter & | operator= (const LogFormatter &that) |
Static Public Attributes | |
static const std::string | defaultValDelim |
Private Types | |
typedef std::map< std::string, char > | TypeSymbolMap |
Private Member Functions | |
void | loadTypeLookup () |
Private Attributes | |
TypeSymbolMap | _tplookup |
std::string | _midfix |
a formatter that renders records in a netlogger-like format.
This is the format intended for use with the Event system.
Definition at line 229 of file LogFormatter.h.
|
private |
Definition at line 274 of file LogFormatter.h.
|
explicit |
create a formatter for NetLogger-like ouput
valueDelim | the string to use as the delimiter between the name and the value. The default is ":". |
|
inline |
create a copy
Definition at line 242 of file LogFormatter.h.
|
virtual |
delete the formatter
|
inline |
return the string used to separate a property name and its value in the output stream.
Definition at line 262 of file LogFormatter.h.
|
private |
NetLoggerFormatter& lsst::pex::logging::NetLoggerFormatter::operator= | ( | const NetLoggerFormatter & | that | ) |
copy another formatter into this one
|
virtual |
write out a log record to a stream
strm | the output stream to write the record to |
rec | the record to write |
Implements lsst::pex::logging::LogFormatter.
|
private |
Definition at line 278 of file LogFormatter.h.
|
private |
Definition at line 277 of file LogFormatter.h.
|
static |
Definition at line 271 of file LogFormatter.h.