Ethereum  PoC-8
The C++ Implementation of Ethereum
Log.cpp File Reference
#include "Log.h"
#include <boost/core/null_deleter.hpp>
#include <boost/log/attributes/clock.hpp>
#include <boost/log/attributes/function.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/sinks/text_ostream_backend.hpp>
#include <boost/log/sources/global_logger_storage.hpp>
#include <boost/log/sources/severity_channel_logger.hpp>
#include <boost/log/support/date_time.hpp>
#include <boost/log/utility/exception_handler.hpp>
#include <boost/log/sinks/sync_frontend.hpp>

Go to the source code of this file.

Namespaces

 dev
 

Typedefs

template<class T >
using log_sink = boost::log::sinks::synchronous_sink< T >
 

Functions

std::string dev::getThreadName ()
 Set the current thread's log name. More...
 
void dev::setThreadName (std::string const &_n)
 
void dev::setupLogging (LoggingOptions const &_options)
 

Detailed Description

Author
Gav Wood i@gav.nosp@m.wood.nosp@m..com
Date
2014

Definition in file Log.cpp.

Typedef Documentation

◆ log_sink

template<class T >
using log_sink = boost::log::sinks::synchronous_sink<T>

Definition at line 45 of file Log.cpp.

Variable Documentation

◆ m_name

boost::thread_specific_ptr<std::string> m_name

Definition at line 62 of file Log.cpp.