Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
toolbox::sys::Log Class Reference

#include <toolbox/sys/Log.hpp>

Public Member Functions

 Log (WallTime ts, LogLevel level) noexcept
 
 ~Log ()
 
 Log (const Log &)=delete
 
Logoperator= (const Log &)=delete
 
 Log (Log &&)=delete
 
Logoperator= (Log &&)=delete
 
constexpr operator bool () const
 
Logoperator() (const char *data, std::streamsize size)
 Function operator provided for writing unformatted data to the log.
 
Logoperator() () noexcept
 Function operator provided for rvalue to lvalue conversion.
 

Friends

template<typename ValueT >
Logoperator<< (Log &log, ValueT &&val)
 

Detailed Description

Definition at line 35 of file Log.hpp.

Constructor & Destructor Documentation

◆ Log() [1/3]

toolbox::sys::Log::Log ( WallTime  ts,
LogLevel  level 
)
inlineexplicitnoexcept

Definition at line 44 of file Log.hpp.

◆ ~Log()

toolbox::sys::Log::~Log ( )
inline

Definition at line 52 of file Log.hpp.

◆ Log() [2/3]

toolbox::sys::Log::Log ( const Log )
delete

◆ Log() [3/3]

toolbox::sys::Log::Log ( Log &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

Log & toolbox::sys::Log::operator= ( const Log )
delete

◆ operator=() [2/2]

Log & toolbox::sys::Log::operator= ( Log &&  )
delete

◆ operator bool()

constexpr toolbox::sys::Log::operator bool ( ) const
inlineexplicitconstexpr

Definition at line 68 of file Log.hpp.

◆ operator()() [1/2]

Log & toolbox::sys::Log::operator() ( const char data,
std::streamsize  size 
)
inline

Function operator provided for writing unformatted data to the log.

Definition at line 70 of file Log.hpp.

◆ operator()() [2/2]

Log & toolbox::sys::Log::operator() ( )
inlinenoexcept

Function operator provided for rvalue to lvalue conversion.

Definition at line 76 of file Log.hpp.

Friends And Related Symbol Documentation

◆ operator<<

template<typename ValueT >
Log & operator<< ( Log log,
ValueT &&  val 
)
friend

Definition at line 37 of file Log.hpp.


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