All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Log.cpp File Reference
#include <atomic>
#include <chrono>
#include <ctime>
#include <fstream>
#include <iomanip>
#include <ios>
#include "Log.h"

Namespaces

 Aux
 
 Aux::Log
 
 Aux::Log::Settings
 
 Aux::Log::Impl
 

Functions

void Aux::Log::setLogLevel (std::string logLevel)
 Accept loglevel as string and set. More...
 
std::string Aux::Log::getLogLevel ()
 
LogLevel Aux::Log::Settings::getLogLevel ()
 
void Aux::Log::Settings::setLogLevel (LogLevel p)
 
void Aux::Log::Settings::setPrintTime (bool b)
 
bool Aux::Log::Settings::getPrintTime ()
 
void Aux::Log::Settings::setPrintLocation (bool b)
 
bool Aux::Log::Settings::getPrintLocation ()
 
void Aux::Log::Settings::setLogfile (const std::string &filename)
 
void Aux::Log::printLogLevel (std::ostream &stream, LogLevel p)
 
void Aux::Log::printTime (std::ostream &stream, const std::chrono::time_point< std::chrono::system_clock > &timePoint)
 
void Aux::Log::printLocation (std::ostream &stream, const Location &loc)
 
std::tuple< std::string,
std::string > 
Aux::Log::getTerminalFormat (LogLevel p)
 
void Aux::Log::Impl::log (const Location &loc, LogLevel p, const std::string msg)