NumCpp  2.17.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
Loading...
Searching...
No Matches
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

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_sink > sinkConsole {}
 local variables to hold the sink pointers
boost::shared_ptr< text_sink > sinkFile {}

Detailed Description

Register a global logger.

Boost log attributes

Typedef Documentation

◆ text_sink

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

Function Documentation

◆ createOutputFormat()

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

function to define the format of the output

Variable Documentation

◆ INIT_LOGLEVEL

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

◆ OUTPUT_LOG_FILE_EXT

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