MsgLogger/src/MsgFormatter.cpp File Reference

#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]


Function Documentation

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().


Variable Documentation

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().

const std::string s_defFmt = "%(time) [%(LVL)] {%(logger)} %(file):%(line) - %(message)" [static]

Definition at line 58 of file MsgFormatter.cpp.

Referenced by MsgLogger::MsgFormatter::getFormat().

std::string s_envFmtMap[MsgLogLevel::LAST_LEVEL+1] [static]

Definition at line 64 of file MsgFormatter.cpp.

Referenced by MsgLogger::MsgFormatter::getFormat().


Generated on 19 Dec 2016 for PSANAclasses by  doxygen 1.4.7