libsir 2.2.6
Standard Incident Reporter
Loading...
Searching...
No Matches
sir::default_adapter< TPolicy > Class Template Reference

The default adapter implementation. More...

Inheritance diagram for sir::default_adapter< TPolicy >:
[legend]

Public Member Functions

bool debug (PRINTF_FORMAT const char *format,...) const
 Logs a debug message (see sir_debug).
 
bool info (PRINTF_FORMAT const char *format,...) const
 Logs an informational message (see sir_info).
 
bool notice (PRINTF_FORMAT const char *format,...) const
 Logs a notice message (see sir_notice).
 
bool warn (PRINTF_FORMAT const char *format,...) const
 Logs a warning message (see sir_warn).
 
bool error (PRINTF_FORMAT const char *format,...) const
 Logs an error message (see sir_error).
 
bool crit (PRINTF_FORMAT const char *format,...) const
 Logs a critical message (see sir_crit).
 
bool alert (PRINTF_FORMAT const char *format,...) const
 Logs an alert message (see sir_alert).
 
bool emerg (PRINTF_FORMAT const char *format,...) const
 Logs an emergency message (see sir_emerg).
 

Detailed Description

template<DerivedFromPolicy TPolicy>
class sir::default_adapter< TPolicy >

The default adapter implementation.

Utilizes the same code path that the C interface itself does, in order to achieve maximum performance (i.e., no unnecessary bloat is added).

Template Parameters
TPolicyA derived class of policy which controls the behavior of logger and by association, its adapters.

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