libsir 2.2.6
Standard Incident Reporter
Loading...
Searching...
No Matches
sir::logger< RAII, TPolicy, TAdapters > Class Template Reference

The primary C++ interface to libsir. More...

Detailed Description

template<bool RAII, DerivedFromPolicy TPolicy, template< class > class ... TAdapters>
requires DerivedFromT<adapter, TAdapters<TPolicy>...>
class sir::logger< RAII, TPolicy, TAdapters >

The primary C++ interface to libsir.

Instantiate this class in order to access libsir with all the benefits of C++, including RAII initialization/cleanup, custom adapters, and more.

See also
default_logger
Template Parameters
RAIISet to true to enable 'resource acquisition is initialization' behavior (i.e., libsir is initialized by the ctor, and cleaned up by the dtor). Set to false for manual management of initialization/cleanup.
TPolicyA policy class which will be responsible for certain aspects of logger's behavior.
TAdaptersOne or more adapter classes whose public methods will be exposed by this class.

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