NumCpp  2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
nc::logger::detail Namespace Reference

Register a global logger. More...

Namespaces

namespace  type_traits
 

Data Structures

class  BinaryDataLogger
 Binary Logger. More...
 

Typedefs

using text_sink = boost::log::sinks::synchronous_sink< boost::log::sinks::text_ostream_backend >
 

Functions

boost::log::formatter createOutputFormat ()
 function to define the format of the output More...
 

Variables

constexpr boost::log::trivial::severity_level INIT_LOGLEVEL { boost::log::trivial::severity_level::trace }
 
constexpr char OUTPUT_LOG_FILE_EXT [] = "log"
 
boost::shared_ptr< text_sinksinkConsole {}
 local variables to hold the sink pointers More...
 
boost::shared_ptr< text_sinksinkFile {}
 

Detailed Description

Register a global logger.

Boost log attributes

Typedef Documentation

◆ text_sink

using nc::logger::detail::text_sink = typedef boost::log::sinks::synchronous_sink<boost::log::sinks::text_ostream_backend>

Function Documentation

◆ createOutputFormat()

boost::log::formatter nc::logger::detail::createOutputFormat ( )
inline

function to define the format of the output

Variable Documentation

◆ INIT_LOGLEVEL

constexpr boost::log::trivial::severity_level nc::logger::detail::INIT_LOGLEVEL { boost::log::trivial::severity_level::trace }
constexpr

◆ OUTPUT_LOG_FILE_EXT

constexpr char nc::logger::detail::OUTPUT_LOG_FILE_EXT[] = "log"
constexpr

◆ sinkConsole

boost::shared_ptr<text_sink> nc::logger::detail::sinkConsole {}
inline

local variables to hold the sink pointers

◆ sinkFile

boost::shared_ptr<text_sink> nc::logger::detail::sinkFile {}
inline