Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
logger.cpp File Reference
#include <thrill/common/logger.hpp>
#include <thrill/mem/manager.hpp>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <mutex>
#include <string>
#include <thread>
#include <utility>
+ Include dependency graph for logger.cpp:

Go to the source code of this file.

Namespaces

 thrill
 
 thrill::common
 Contains many common tools and helpers shared by higher layers. See common.
 

Functions

void NameThisThread (const std::string &name)
 Defines a name for the current thread, only if no name was set previously. More...
 

Variables

mem::Manager g_logger_mem_manager (nullptr,"Logger")
 memory manager singleton for Logger More...
 
static ThreadLoggerPrefixHook s_default_logger
 default logger singleton More...
 
static thread_local size_t s_message_counter = 0
 thread message counter More...
 
static thread_local char s_thread_name [64] = { 0 }
 thread name More...