Home | C-Bits Package Documentation | Project Page |
00001 /* ==================================================================== 00002 * The CBITS Software License, Version 1.0 00003 * 00004 * Copyright (c) 2002-2003 Bruce Lowery 00005 * All rights reserved 00006 * 00007 * Redistribution and use of this software, in source and binary forms, 00008 * with or without modification, are permitted provided that the above 00009 * copyright notice, this paragraph, and the following paragraph are 00010 * retained in each source code file. 00011 * 00012 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 00013 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 00014 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00015 * DISCLAIMED. IN NO EVENT SHALL BRUCE LOWERY OR OTHER CONTRIBUTORS 00016 * TO THE CBITS LIBRARY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 00017 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 00018 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 00019 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 00020 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00021 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 00022 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00023 * SUCH DAMAGE. 00024 * ==================================================================== 00025 */ 00026 #ifndef LogLevel_H 00027 #define LogLevel_H 00028 00029 00030 #include <iostream> 00031 #include <string> 00032 #include <map> 00033 00034 namespace cbits 00035 { 00036 00041 class LogLevel 00042 { 00043 public: 00044 00048 typedef enum 00049 { 00050 MIN = -1, 00051 TRACE = -1, 00052 ERR = 0, 00053 DBG1 = 1, 00054 DBG2 = 2, 00055 DBG3 = 3, 00056 MAX = DBG3 00057 } Level; 00058 00059 }; /* END OF class LogLevel */ 00060 00061 00066 }; /* END OF namespace cbits */ 00067 00068 #endif /* LogLevel_H */ 00069 00070 00071 /* 00072 * $Id: LogLevel.h,v 1.3 2002/10/08 17:11:20 brulow Exp $ 00073 * 00074 * History: (Add nothing manually below) 00075 * ----------------------------------------------------------------------- 00076 * 00077 * $Log: LogLevel.h,v $ 00078 * Revision 1.3 2002/10/08 17:11:20 brulow 00079 * Improve documentation 00080 * 00081 * Revision 1.2 2002/09/27 22:04:16 brulow 00082 * Add history footer to all .h .cpp files 00083 * 00084 * 00085 */
|
|