Rubber Band Library 4.0.0
|
Interface for log callbacks that may optionally be provided to the shifter on construction. More...
#include <RubberBandLiveShifter.h>
Public Member Functions | |
virtual void | log (const char *)=0 |
Receive a log message with no numeric values. | |
virtual void | log (const char *, double)=0 |
Receive a log message and one accompanying numeric value. | |
virtual void | log (const char *, double, double)=0 |
Receive a log message and two accompanying numeric values. | |
virtual | ~Logger () |
Interface for log callbacks that may optionally be provided to the shifter on construction.
If a Logger is provided, the shifter will call one of these functions instead of sending output to cerr
when there is something to report. This allows debug output to be diverted to an application's logging facilities, and/or handled in an RT-safe way. See setDebugLevel() for details about how and when RubberBandLiveShifter reports something in this way.
The message text passed to each of these log functions is a C-style string with no particular guaranteed lifespan. If you need to retain it, copy it before returning. Do not free it.
Definition at line 139 of file RubberBandLiveShifter.h.
|
inlinevirtual |
Definition at line 149 of file RubberBandLiveShifter.h.
|
pure virtual |
Receive a log message with no numeric values.
|
pure virtual |
Receive a log message and one accompanying numeric value.
|
pure virtual |
Receive a log message and two accompanying numeric values.