![]() |
Nevelex Utilities 1.1.4 09/06/2003 | |
Logger.h00001
00031 /***************************************************************************
00032 Logger.h - interface class for logging
00033 -------------------
00034 Author: Michel Dalal
00035 Date: Sat Sep 14 2002
00036 Copyright: (C) 2002 Nevelex Corporation
00037 ***************************************************************************/
00038
00039 #ifndef LOGGER_H
00040 #define LOGGER_H
00041
00049 namespace nevelex_util
00050 {
00055 class Logger
00056 {
00057 public:
00059 virtual ~Logger();
00060
00066 enum LOGGING_LEVELS
00067 {
00068 LOGGER_DEBUG,
00069 LOGGER_INFO,
00070 LOGGER_NOTICE,
00071 LOGGER_WARNING,
00072 LOGGER_ERROR,
00073 LOGGER_CRITICAL,
00074 LOGGER_ALERT,
00075 LOGGER_EMERGENCY
00076 };
00077
00084 virtual void log(LOGGING_LEVELS level, char *format,...)=0;
00085 };
00086 };
00087 #endif
|
||
Copyright © 2003. All Rights Reserved. Nevelex Corporation.
Generated: Sat Sep 6 15:54:01 2003