Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
toolbox::sys::Logger Class Referenceabstract

#include <toolbox/sys/Logger.hpp>

Inheritance diagram for toolbox::sys::Logger:
Inheritance graph
[legend]

Public Member Functions

 Logger () noexcept=default
 
virtual ~Logger ()
 
 Logger (const Logger &) noexcept=default
 
Loggeroperator= (const Logger &) noexcept=default
 
 Logger (Logger &&) noexcept=default
 
Loggeroperator= (Logger &&) noexcept=default
 
void write_log (WallTime ts, LogLevel level, int tid, LogMsgPtr &&msg, std::size_t size) noexcept
 

Protected Member Functions

virtual void do_write_log (WallTime ts, LogLevel level, int tid, LogMsgPtr &&msg, std::size_t size) noexcept=0
 

Detailed Description

The Logger is implemented by types that may be woken-up, interrupted or otherwise notified asynchronously.

Definition at line 96 of file Logger.hpp.

Constructor & Destructor Documentation

◆ Logger() [1/3]

toolbox::sys::Logger::Logger ( )
defaultnoexcept

◆ ~Logger()

toolbox::sys::Logger::~Logger ( )
virtualdefault

◆ Logger() [2/3]

toolbox::sys::Logger::Logger ( const Logger )
defaultnoexcept

◆ Logger() [3/3]

toolbox::sys::Logger::Logger ( Logger &&  )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

Logger & toolbox::sys::Logger::operator= ( const Logger )
defaultnoexcept

◆ operator=() [2/2]

Logger & toolbox::sys::Logger::operator= ( Logger &&  )
defaultnoexcept

◆ write_log()

void toolbox::sys::Logger::write_log ( WallTime  ts,
LogLevel  level,
int  tid,
LogMsgPtr &&  msg,
std::size_t  size 
)
inlinenoexcept

Definition at line 109 of file Logger.hpp.

◆ do_write_log()

virtual void toolbox::sys::Logger::do_write_log ( WallTime  ts,
LogLevel  level,
int  tid,
LogMsgPtr &&  msg,
std::size_t  size 
)
protectedpure virtualnoexcept

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