receive packets from mrzcpd; log output supports stderr or file
This commit is contained in:
@@ -10,15 +10,7 @@ extern "C"
|
||||
#include "log.h"
|
||||
|
||||
#define SESSION_LOG_ERROR(format, ...) LOG_ERROR("session", format, ##__VA_ARGS__)
|
||||
#ifndef SESSION_LOG_ERROR
|
||||
#define SESSION_LOG_ERROR(format, ...) \
|
||||
fprintf(stderr, "ERROR (session), " format "\n", ##__VA_ARGS__);
|
||||
#endif
|
||||
#define SESSION_LOG_DEBUG(format, ...) LOG_DEBUG("session", format, ##__VA_ARGS__)
|
||||
#ifndef SESSION_LOG_DEBUG
|
||||
#define SESSION_LOG_DEBUG(format, ...) \
|
||||
fprintf(stderr, "DEBUG (session), " format "\n", ##__VA_ARGS__);
|
||||
#endif
|
||||
|
||||
struct session_manager_config
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user