You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pEpJSONServerAdapter/server/logger_config.hh

20 lines
496 B
C++

#ifndef LOGGER_CONFIG_HH
#define LOGGER_CONFIG_HH
// maximum length of a log message. longer log messages will be clipped
#define LOGGER_MAX_LOG_MESSAGE_LENGTH (8192u)
// maximum length of a log line. longer lines will be wrapped/folded
#define LOGGER_MAX_LINE_LENGTH (1000u)
// enable logging to syslog except on MS Windows
#ifndef _WIN32
#define LOGGER_ENABLE_SYSLOG (1)
#endif
// use ASCII-only characters to tag log lines
// #define LOGGER_USE_ASCII_TAGS (1)
#endif // LOGGER_CONFIG_HH