Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::LoggerConcept Concept Reference

The LoggerConcept is satisfied if the type T is a valid Logger type. More...

#include <vclib/base/logger/abstract_logger.h>

Concept definition

template<typename T>
concept vcl::LoggerConcept = std::derived_from<RemoveRef<T>, AbstractLogger>
The LoggerConcept is satisfied if the type T is a valid Logger type.
Definition abstract_logger.h:259

Detailed Description

The LoggerConcept is satisfied if the type T is a valid Logger type.

A valid Logger type must inherit from AbstractLogger, and therefore it must provide all the pure virtual member functions to control the logging behavior.

Note
The NullLogger class does satisfy this concept, by providing all the required member functions as no-op.