MarlinMT  0.1.0
Logging.cc
Go to the documentation of this file.
1 #include "marlinmt/Logging.h"
2 
3 namespace marlinmt {
4 
5  Logging::Logger Logging::createLogger( const std::string &name ) {
6  return streamlog::logstream::createLogger<Logging::mutex_type>( name ) ;
7  }
8 
9  //--------------------------------------------------------------------------
10 
12  return streamlog::logstream::global() ;
13  }
14 
15 }
static Logger createLogger(const std::string &name)
Create a standalone logger instance.
Definition: Logging.cc:5
static DefaultLoggerType & globalLogger()
Get the global streamlog logger.
Definition: Logging.cc:11
std::shared_ptr< streamlog::logstreamT< mutex_type > > Logger
Definition: Logging.h:73
streamlog::logstream::default_logger_type DefaultLoggerType
Definition: Logging.h:75