MarlinMT
0.1.0
|
#include <Logging.h>
Public Types | |
using | mutex_type = streamlog::st |
using | Logger = std::shared_ptr< streamlog::logstreamT< mutex_type > > |
using | StreamType = Logger::element_type::stream_type |
using | DefaultLoggerType = streamlog::logstream::default_logger_type |
Static Public Member Functions | |
static Logger | createLogger (const std::string &name) |
Create a standalone logger instance. More... | |
static DefaultLoggerType & | globalLogger () |
Get the global streamlog logger. More... | |
Logging class.
Defines the basic logging functionalities in Marlin. For a more application oriented configuration, see LoggerManager.h
using marlinmt::Logging::DefaultLoggerType = streamlog::logstream::default_logger_type |
using marlinmt::Logging::Logger = std::shared_ptr<streamlog::logstreamT<mutex_type> > |
using marlinmt::Logging::mutex_type = streamlog::st |
using marlinmt::Logging::StreamType = Logger::element_type::stream_type |
|
static |
Create a standalone logger instance.
name | the logger name |
Definition at line 5 of file Logging.cc.
Referenced by marlinmt::Component::Component(), marlinmt::LoggerManager::createLogger(), and marlinmt::PluginManager::PluginManager().
|
static |