SaturnRingLibrary 0.9.2
SGL wrapper
Loading...
Searching...
No Matches
SRL::Logger::DummyLogger Class Reference

Detailed Description

DummyLogger class.

A no-op logger used when output is disabled or as fallback. All operations are optimized out by compiler.

#include <srl_log.hpp>

Public Member Functions

 DummyLogger ()=delete
 Deleted default constructor (static-only class).
 DummyLogger (const DummyLogger &)=delete
 Deleted copy constructor.
DummyLoggeroperator= (const DummyLogger &)=delete
 Deleted assignment operator.

Static Public Member Functions

static void putc (char c)
 No-op putc for single character.
static void putc (const char *c)
 No-op putc for string pointer.