20 #if !defined(__MITSUBA_CORE_FORMATTER_H_)
21 #define __MITSUBA_CORE_FORMATTER_H_
23 #include <mitsuba/mitsuba.h>
54 virtual std::string format(
ELogLevel logLevel,
const Class *theClass,
55 const Thread *thread,
const std::string &text,
56 const char *file,
int line) = 0;
76 const Thread *thread,
const std::string &text,
77 const char *file,
int line);
Trace message, for extremely verbose debugging.
Definition: formatter.h:29
#define MTS_EXPORT_CORE
Definition: getopt.h:29
Debug message, usually turned off.
Definition: formatter.h:30
More relevant debug / information message.
Definition: formatter.h:31
#define MTS_DECLARE_CLASS()
This macro must be used in the initial definition in classes that derive from Object.
Definition: class.h:158
Warning message.
Definition: formatter.h:32
Stores meta-information about Object instances.
Definition: class.h:43
Cross-platform thread implementation.
Definition: thread.h:34
ELogLevel
Available Log message types.
Definition: formatter.h:28
Error message, causes an exception to be thrown.
Definition: formatter.h:33
Responsible for processing log messages.
Definition: logger.h:116
Parent of all Mitsuba classes.
Definition: object.h:38