Functor to handle errors printed out using the mantra* methods.
More...
#include <UT_ErrorLog.h>
Functor to handle errors printed out using the mantra* methods.
Definition at line 36 of file UT_ErrorLog.h.
UT_ErrorLog::ErrorCallback::ErrorCallback |
( |
| ) |
|
|
inline |
virtual UT_ErrorLog::ErrorCallback::~ErrorCallback |
( |
| ) |
|
|
virtual |
The destructor automatically de-registers the callback.
UT_ErrorLog::ErrorCallback::ErrorCallback |
( |
const ErrorCallback & |
| ) |
|
|
delete |
virtual bool UT_ErrorLog::ErrorCallback::filterError |
( |
int |
level, |
|
|
const char * |
message, |
|
|
const char * |
prefix |
|
) |
| |
|
pure virtual |
If the method returns true
, the error will not be printed out by the built-in error handler. If it returns false
, processing continues in the normal way. The level
is the verbosity level of the error. The built-in process will print out: ("%s%s", prefix, message).
The documentation for this class was generated from the following file: