xerus
a general purpose tensor library
namedLogger.cpp File Reference

Implementation of the log-buffer functionality and declaration of global logging objects. More...

#include <time.h>
#include <iomanip>
#include <chrono>
#include <fstream>
#include <xerus/misc/namedLogger.h>
#include <xerus/misc/stringUtilities.h>

Go to the source code of this file.

Namespaces

 xerus
 The main namespace of xerus.
 
 xerus::misc
 Collection of classes and functions that provide elementary functionality that is not special to xerus as a tensor library.
 
 xerus::misc::internal
 Namespace for function and classes designated only for internal use.
 
 xerus::misc::internal::buffer
 

Functions

static void xerus::misc::internal::__attribute__ ((constructor)) initTime()
 
void xerus::misc::internal::buffer::checkSwitch ()
 
void xerus::misc::internal::buffer::dump_log (std::string _comment)
 
std::ostream & xerus::misc::internal::get_fileStream ()
 
void xerus::misc::internal::log_timestamp (std::ostream &_out, const char *_file, int _line, const char *_lvl)
 
void xerus::misc::internal::log_timestamp (std::ostream &_out, const char *_lvl)
 
void xerus::misc::internal::log_timestamp (std::ostream &_out)
 

Detailed Description

Implementation of the log-buffer functionality and declaration of global logging objects.

Definition in file namedLogger.cpp.