algorithms  2.2.0
Framework-independent algorithms for the EIC
Loading...
Searching...
No Matches
algorithms::detail::LoggerStream Class Reference

#include <algorithms/logger.h>

Public Types

using IOManipType1 = std::ostream&(std::ostream&)
using IOManipType2 = std::ios_base&(std::ios_base&)

Public Member Functions

 LoggerStream (std::string_view caller, const LogLevel level, const LogLevel threshold=LogSvc::instance().defaultLevel())
 LoggerStream ()=delete
 LoggerStream (const LoggerStream &)=delete
 ~LoggerStream ()
template<class Arg>
LoggerStream & operator<< (Arg &&streamable)
LoggerStream & operator<< (IOManipType1 *f)
LoggerStream & operator<< (IOManipType2 *f)
LogLevel threshold () const
void threshold (const LogLevel th)

Detailed Description

Definition at line 112 of file logger.h.

Member Typedef Documentation

◆ IOManipType1

using algorithms::detail::LoggerStream::IOManipType1 = std::ostream&(std::ostream&)

Definition at line 135 of file logger.h.

◆ IOManipType2

using algorithms::detail::LoggerStream::IOManipType2 = std::ios_base&(std::ios_base&)

Definition at line 136 of file logger.h.

Constructor & Destructor Documentation

◆ LoggerStream() [1/3]

algorithms::detail::LoggerStream::LoggerStream ( std::string_view caller,
const LogLevel level,
const LogLevel threshold = LogSvc::instance().defaultLevel() )
inline

Definition at line 114 of file logger.h.

◆ LoggerStream() [2/3]

algorithms::detail::LoggerStream::LoggerStream ( )
delete

◆ LoggerStream() [3/3]

algorithms::detail::LoggerStream::LoggerStream ( const LoggerStream & )
delete

◆ ~LoggerStream()

algorithms::detail::LoggerStream::~LoggerStream ( )
inline

Definition at line 119 of file logger.h.

Member Function Documentation

◆ operator<<() [1/3]

template<class Arg>
LoggerStream & algorithms::detail::LoggerStream::operator<< ( Arg && streamable)
inline

Definition at line 125 of file logger.h.

◆ operator<<() [2/3]

LoggerStream & algorithms::detail::LoggerStream::operator<< ( IOManipType1 * f)
inline

Definition at line 137 of file logger.h.

◆ operator<<() [3/3]

LoggerStream & algorithms::detail::LoggerStream::operator<< ( IOManipType2 * f)
inline

Definition at line 145 of file logger.h.

◆ threshold() [1/2]

LogLevel algorithms::detail::LoggerStream::threshold ( ) const
inline

Definition at line 153 of file logger.h.

◆ threshold() [2/2]

void algorithms::detail::LoggerStream::threshold ( const LogLevel th)
inline

Definition at line 154 of file logger.h.


The documentation for this class was generated from the following file: