mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-30 15:47:12 +01:00
31 lines
697 B
C++
31 lines
697 B
C++
#ifndef LOGGER_BACKEND_H
|
|
#define LOGGER_BACKEND_H
|
|
|
|
#include "core/string/ustring.h"
|
|
#include "core/variant/variant.h"
|
|
|
|
#include "core/object/reference.h"
|
|
|
|
class LoggerBackend : public Reference {
|
|
GDCLASS(LoggerBackend, Reference);
|
|
|
|
public:
|
|
virtual void log_trace(const String &str);
|
|
virtual void log_message(const String &str);
|
|
virtual void log_warning(const String &str);
|
|
virtual void log_error(const String &str);
|
|
|
|
virtual void _log_trace(const String &str);
|
|
virtual void _log_message(const String &str);
|
|
virtual void _log_warning(const String &str);
|
|
virtual void _log_error(const String &str);
|
|
|
|
LoggerBackend();
|
|
~LoggerBackend();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
};
|
|
|
|
#endif
|