2023-12-14 21:54:22 +01:00
|
|
|
#ifndef WINDOWS_TERMINAL_LOGGER_H
|
|
|
|
#define WINDOWS_TERMINAL_LOGGER_H
|
2023-12-17 15:39:29 +01:00
|
|
|
|
2023-12-14 21:54:22 +01:00
|
|
|
/* windows_terminal_logger.h */
|
2023-12-17 15:39:29 +01:00
|
|
|
|
2023-12-14 21:54:22 +01:00
|
|
|
|
|
|
|
#ifdef WINDOWS_ENABLED
|
|
|
|
|
|
|
|
#include "core/io/logger.h"
|
|
|
|
|
|
|
|
class WindowsTerminalLogger : public StdLogger {
|
|
|
|
public:
|
|
|
|
virtual void logv(const char *p_format, va_list p_list, bool p_err);
|
|
|
|
virtual void log_error(const char *p_function, const char *p_file, int p_line, const char *p_code, const char *p_rationale, ErrorType p_type = ERR_ERROR);
|
|
|
|
virtual ~WindowsTerminalLogger();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|