1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

debug: Add some readability to debug_logtype

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Volker Lendecke 2014-07-29 11:20:27 +00:00 committed by Michael Adam
parent 02a06ae617
commit 222996931d

View File

@ -207,7 +207,14 @@ extern int *DEBUGLEVEL_CLASS;
* for example. This makes it easy to override for debug to stderr on * for example. This makes it easy to override for debug to stderr on
* the command line, as the smb.conf cannot reset it back to * the command line, as the smb.conf cannot reset it back to
* file-based logging */ * file-based logging */
enum debug_logtype {DEBUG_DEFAULT_STDERR = 0, DEBUG_DEFAULT_STDOUT = 1, DEBUG_FILE = 2, DEBUG_STDOUT = 3, DEBUG_STDERR = 4, DEBUG_CALLBACK = 5}; enum debug_logtype {
DEBUG_DEFAULT_STDERR = 0,
DEBUG_DEFAULT_STDOUT = 1,
DEBUG_FILE = 2,
DEBUG_STDOUT = 3,
DEBUG_STDERR = 4,
DEBUG_CALLBACK = 5
};
struct debug_settings { struct debug_settings {
size_t max_log_size; size_t max_log_size;