|
@ -34,4 +34,11 @@ enum SL_ROLL_LOGS { |
|
|
SL_BY_TIME = 1, /**< Will create a new log every n-hours */ |
|
|
SL_BY_TIME = 1, /**< Will create a new log every n-hours */ |
|
|
SL_BY_SIZE = 2, /**< Will create a new log every n-KB */ |
|
|
SL_BY_SIZE = 2, /**< Will create a new log every n-KB */ |
|
|
SL_NEVER = 0 /**< Will never split the log. Use when doing external logging. */ |
|
|
SL_NEVER = 0 /**< Will never split the log. Use when doing external logging. */ |
|
|
}; |
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
#ifndef __cplusplus |
|
|
|
|
|
typedef enum SL_ON_SINK_FULL SL_ON_SINK_FULL; |
|
|
|
|
|
typedef enum SL_SINK_IO_TYPE SL_SINK_IO_TYPE; |
|
|
|
|
|
typedef enum SL_BUFFER_TYPE SL_BUFFER_TYPE; |
|
|
|
|
|
typedef enum SL_ROLL_LOGS SL_ROLL_LOGS; |
|
|
|
|
|
#endif |