Simple-Log  alpha-v0.7
Logger Concepts

Classes

struct  sl::log::LoggerTypedefs< TLogger >
 Provides a layer of abstraction to Record member types. More...
 

Typedefs

template<class TLogger >
using sl::log::LoggerRecord_t = typename LoggerTypedefs< TLogger >::Record_t
 Typedef for easier access to Logger's Record type. More...
 

Variables

template<class T >
concept sl::log::Logger
 Concept for Logger classes. More...
 

Detailed Description

Typedef Documentation

◆ LoggerRecord_t

template<class TLogger >
sl::log::LoggerRecord_t

Typedef for easier access to Logger's Record type.

Template Parameters
TLoggerThe used Logger type.
Version
since alpha-v0.7

Variable Documentation

◆ Logger

template<class T >
concept sl::log::Logger
Initial value:
=
requires
{
typename LoggerRecord_t<T>;
} &&
Record<LoggerRecord_t<T>> &&
std::is_invocable_r_v<RecordBuilder<LoggerRecord_t<T>>, T>

Concept for Logger classes.