#include "MsgLogger/MsgFormatter.h"
#include <algorithm>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include "MsgLogger/MsgLogRecord.h"
Go to the source code of this file.
Namespaces | |
namespace | MsgLogger |
Functions | |
void | formattedTime (std::string fmt, std::ostream &out) |
void | initFmtMap () |
void | formattedTime (std::string fmt, std::ostream &out) |
Variables | |
const std::string | s_defFmt = "%(time) [%(LVL)] {%(logger)} %(file):%(line) - %(message)" |
std::string | s_appFmtMap [MsgLogLevel::LAST_LEVEL+1] |
std::string | s_envFmtMap [MsgLogLevel::LAST_LEVEL+1] |
void @3::formattedTime | ( | std::string | fmt, | |
std::ostream & | out | |||
) | [static] |
Definition at line 254 of file MsgFormatter.cpp.
void @2::formattedTime | ( | std::string | fmt, | |
std::ostream & | out | |||
) | [static] |
Referenced by MsgLogger::MsgFormatter::format().
void @2::initFmtMap | ( | ) | [static] |
Definition at line 66 of file MsgFormatter.cpp.
Referenced by MsgLogger::MsgFormatter::MsgFormatter().
std::string s_appFmtMap[MsgLogLevel::LAST_LEVEL+1] [static] |
Definition at line 61 of file MsgFormatter.cpp.
Referenced by MsgLogger::MsgFormatter::addGlobalFormat(), and MsgLogger::MsgFormatter::getFormat().
std::string s_envFmtMap[MsgLogLevel::LAST_LEVEL+1] [static] |