ARToolKit::Logger specifies the interface for a logging application. More...
#include <Logger.h>
Public Member Functions | |
virtual void | artLog (const char *nStr)=0 |
Passes a simple string to the implementing instance. | |
virtual void | artLogEx (const char *nStr,...) |
Passes an sprintf like string plus ellipsis to the implementing instance. |
ARToolKit::Logger specifies the interface for a logging application.
Several classes of the ARToolKitPlus library use the Logger interface to pass messages to the calling instance. An application should derive from this interface class and implement artLog() in order to get error and success messages from artoolkit.
virtual void ARToolKitPlus::Logger::artLogEx | ( | const char * | nStr, | |
... | ||||
) | [inline, virtual] |
Passes an sprintf like string plus ellipsis to the implementing instance.
A default implementation is provided which should usually be sufficient. Only in rare cases it will make sense to override this method and create a custom implementation.