From aee3eb529999805eac9d3edba47ca46df7946306 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 7 Dec 2005 07:57:18 +0000 Subject: ../svn-commit.tmp --- Source/charon/utils/logger.h | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'Source/charon/utils/logger.h') diff --git a/Source/charon/utils/logger.h b/Source/charon/utils/logger.h index a104ca0be..3841955df 100644 --- a/Source/charon/utils/logger.h +++ b/Source/charon/utils/logger.h @@ -52,32 +52,40 @@ enum logger_level_t { * Error reporting. */ ERROR = 2, + /** + * Logs important for the sysadmin. + */ + AUDIT = 4, /** * Raw data dumps. */ - RAW = 4, + RAW = 8, /** * Private data dumps. */ - PRIVATE = 8, + PRIVATE = 16, /** - * Use more detailed output for those above. + * Log most important output, can be omitted. + */ + LEVEL0 = 0, + /** + * Log more detailed output. */ - MORE = 16, + LEVEL1 = 32, /** - * Use even more detailed output. + * Log even more detailed output. */ - MOST = MORE + 32, + LEVEL2 = LEVEL1 + 64, /** - * Use full detailed output. + * Use maximum detailed output. */ - ALL = MOST + 64, + LEVEL3 = LEVEL2 + 128, /** * Summary for all types with all detail-levels. */ - FULL = ALL + CONTROL + ERROR + RAW + PRIVATE + FULL = LEVEL3 + CONTROL + ERROR + RAW + PRIVATE + AUDIT }; typedef struct logger_t logger_t; -- cgit v1.2.3