Move UC_LOG_DESTINATION enum to logging.c, it's
not a public type
This commit is contained in:
@@ -12,6 +12,18 @@
|
||||
#include "ucore/logging.h"
|
||||
#include "ucore/utils.h"
|
||||
|
||||
/** A destination for the logging messages*/
|
||||
enum UC_LOG_DESTINATION {
|
||||
/** Logs using the unix syslog system */
|
||||
UC_LDEST_SYSLOG,
|
||||
|
||||
/** Prints log messages to stderr. */
|
||||
UC_LDEST_STDERR,
|
||||
|
||||
/** Prints log messages to a file */
|
||||
UC_LDEST_FILE,
|
||||
};
|
||||
|
||||
/** Max suffixes we'll try to apply to a log file when rotating before
|
||||
* giving up
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user