mirror of
https://github.com/Relintai/pandemonium_engine_minimal.git
synced 2024-11-10 20:12:10 +01:00
22 lines
513 B
C++
22 lines
513 B
C++
#ifndef SYSLOG_LOGGER_H
|
|
#define SYSLOG_LOGGER_H
|
|
|
|
/* syslog_logger.h */
|
|
|
|
|
|
#ifdef UNIX_ENABLED
|
|
|
|
#include "core/io/logger.h"
|
|
|
|
class SyslogLogger : public Logger {
|
|
public:
|
|
virtual void logv(const char *p_format, va_list p_list, bool p_err) _PRINTF_FORMAT_ATTRIBUTE_2_0;
|
|
virtual void print_error(const char *p_function, const char *p_file, int p_line, const char *p_code, const char *p_rationale, ErrorType p_type);
|
|
|
|
virtual ~SyslogLogger();
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif
|