libassa 3.5.0
|
00001 // -*- c++ -*- 00002 //------------------------------------------------------------------------------ 00003 // LogMask.h 00004 //------------------------------------------------------------------------------ 00005 // $Id: LogMask.h,v 1.6 2006/07/20 02:30:54 vlg Exp $ 00006 //------------------------------------------------------------------------------ 00007 // Copyright (c) 2001 by Vladislav Grinchenko 00008 // 00009 // This library is free software; you can redistribute it and/or 00010 // modify it under the terms of the GNU Library General Public 00011 // License as published by the Free Software Foundation; either 00012 // version 2 of the License, or (at your option) any later version. 00013 //------------------------------------------------------------------------------ 00014 #ifndef LOG_MASK_H 00015 #define LOG_MASK_H 00016 00024 namespace ASSA { 00025 enum Group { 00026 TRACE = 0x00000001, 00027 APP = 0x00000002, 00028 USR1 = 0x00000004, 00029 USR2 = 0x00000008, 00030 USR3 = 0x00000010, 00031 /*-----------------------------------------------------------------------*/ 00032 ALL_APPS = 0x0000001F, 00033 /*-----------------------------------------------------------------------*/ 00034 ASSAERR = 0x00000020, 00035 PIDFLOCK = 0x00000040, 00036 CMDLINEOPTS = 0x00000080, 00037 SEM = 0x00000100, 00038 SIGHAND = 0x00000200, 00039 REACT = 0x00000400, 00040 REACTTRACE = 0x00000800, 00041 SOCK = 0x00001000, 00042 SOCKTRACE = 0x00002000, 00043 XDRBUF = 0x00004000, 00044 XDRBUFTRACE = 0x00008000, 00045 STRMBUF = 0x00010000, 00046 STRMBUFTRACE = 0x00020000, 00047 FORK = 0x00040000, 00048 SIGACT = 0x00080000, 00049 PIPE = 0x00100000, 00050 CHARINBUF = 0x00200000, 00051 ADDRESS = 0x00400000, 00052 INIFILE = 0x00800000, 00053 REGEXP = 0x01000000, 00054 RES5 = 0x02000000, 00055 RES6 = 0x04000000, 00056 RES7 = 0x08000000, 00057 RES8 = 0x10000000, 00058 RES9 = 0x20000000, 00059 RES10 = 0x40000000, 00060 /*-----------------------------------------------------------------------*/ 00061 ALL_LIB = 0x7FFFFFE0, 00062 ALL = 0x7FFFFFFF, 00063 NONE = 0x00000000 00064 }; 00065 00066 00067 enum marker_t { 00068 FUNC_MSG, 00069 FUNC_ENTRY, 00070 FUNC_EXIT 00071 }; 00072 00073 } /* end namespace ASSA */ 00074 00075 #endif /* LOG_MASK_H */