Simple-Log  alpha-v0.7
Sinks

Modules

 ConsoleSink
 

Classes

class  sl::log::BasicSink< TRecord >
 Abstract Sink class which offers basic filtering, formatting functionality. More...
 
class  sl::log::FileSink< TRecord >
 Class for logging into files. More...
 
class  sl::log::ISink< TRecord >
 Sink interface class. More...
 
class  sl::log::ScopedSinkDisabling< TRecord, TSink >
 Wrapper class which disables Sinks on construction and enables them on destruction. More...
 
class  sl::log::SinkException
 
class  sl::log::OStreamSink< TRecord >
 An std::ostream orientated Sink class which extends BasicSink. More...
 

Variables

template<class T , class TRecord >
concept sl::log::RecordFormatterFor
 Concept for invokable formatter objects. More...
 
template<class T , class TRecord >
concept sl::log::RecordFilterFor
 Concept for invokable filter objects. More...
 
template<class T >
concept sl::log::FileStateHandler = std::is_invocable_r_v<std::string, T>
 Concept for invokable file state handler objects. More...
 

Detailed Description

Variable Documentation

◆ FileStateHandler

template<class T >
concept sl::log::FileStateHandler = std::is_invocable_r_v<std::string, T>

Concept for invokable file state handler objects.

◆ RecordFilterFor

template<class T , class TRecord >
concept sl::log::RecordFilterFor
Initial value:
=
Record<TRecord> &&
std::predicate<T, const TRecord&>

Concept for invokable filter objects.

◆ RecordFormatterFor

template<class T , class TRecord >
concept sl::log::RecordFormatterFor
Initial value:
=
Record<TRecord> &&
std::is_invocable_r_v<std::string, T, const TRecord&>

Concept for invokable formatter objects.