Loading...
Searching...
No Matches
LogMask.h
Go to the documentation of this file.
// -*- c++ -*-
//------------------------------------------------------------------------------
// LogMask.h
//------------------------------------------------------------------------------
// $Id: LogMask.h,v 1.6 2006/07/20 02:30:54 vlg Exp $
//------------------------------------------------------------------------------
// Copyright (c) 2001 by Vladislav Grinchenko
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public
// License as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any later version.
//------------------------------------------------------------------------------
#ifndef LOG_MASK_H
#define LOG_MASK_H
namespace ASSA {
enum Group {
TRACE = 0x00000001,
APP = 0x00000002,
USR1 = 0x00000004,
USR2 = 0x00000008,
USR3 = 0x00000010,
/*-----------------------------------------------------------------------*/
ALL_APPS = 0x0000001F,
/*-----------------------------------------------------------------------*/
ASSAERR = 0x00000020,
PIDFLOCK = 0x00000040,
CMDLINEOPTS = 0x00000080,
SEM = 0x00000100,
SIGHAND = 0x00000200,
REACT = 0x00000400,
REACTTRACE = 0x00000800,
SOCK = 0x00001000,
SOCKTRACE = 0x00002000,
XDRBUF = 0x00004000,
XDRBUFTRACE = 0x00008000,
STRMBUF = 0x00010000,
STRMBUFTRACE = 0x00020000,
FORK = 0x00040000,
SIGACT = 0x00080000,
PIPE = 0x00100000,
CHARINBUF = 0x00200000,
ADDRESS = 0x00400000,
INIFILE = 0x00800000,
REGEXP = 0x01000000,
RES5 = 0x02000000,
RES6 = 0x04000000,
RES7 = 0x08000000,
RES8 = 0x10000000,
RES9 = 0x20000000,
RES10 = 0x40000000,
/*-----------------------------------------------------------------------*/
ALL_LIB = 0x7FFFFFE0,
ALL = 0x7FFFFFFF,
NONE = 0x00000000
};
enum marker_t {
FUNC_MSG,
FUNC_ENTRY,
FUNC_EXIT
};
} /* end namespace ASSA */
#endif /* LOG_MASK_H */
ASSA
Definition Acceptor.h:40
ASSA::marker_t
marker_t
Definition LogMask.h:67
ASSA::FUNC_ENTRY
@ FUNC_ENTRY
Definition LogMask.h:69
ASSA::FUNC_MSG
@ FUNC_MSG
Definition LogMask.h:68
ASSA::FUNC_EXIT
@ FUNC_EXIT
Definition LogMask.h:70
ASSA::Group
Group
Definition LogMask.h:25
ASSA::PIPE
@ PIPE
Class Pipe messages
Definition LogMask.h:49
ASSA::INIFILE
@ INIFILE
Class IniFile messages
Definition LogMask.h:52
ASSA::RES7
@ RES7
Reserved for future use
Definition LogMask.h:56
ASSA::FORK
@ FORK
Class Fork messages
Definition LogMask.h:47
ASSA::ADDRESS
@ ADDRESS
Class Address & friends messages
Definition LogMask.h:51
ASSA::REACT
@ REACT
Class Reactor/PrioriyQueue messages
Definition LogMask.h:39
ASSA::SOCK
@ SOCK
Class Socket & friends messages
Definition LogMask.h:41
ASSA::SOCKTRACE
@ SOCKTRACE
Extended Socket & friends messages
Definition LogMask.h:42
ASSA::REGEXP
@ REGEXP
Class RegExp messages
Definition LogMask.h:53
ASSA::USR3
@ USR3
Additional application-level messages
Definition LogMask.h:30
ASSA::SEM
@ SEM
Class Semaphore messages
Definition LogMask.h:37
ASSA::SIGHAND
@ SIGHAND
Class SigHandler(s) messages
Definition LogMask.h:38
ASSA::XDRBUF
@ XDRBUF
Class xdrIOBuffer messages
Definition LogMask.h:43
ASSA::RES6
@ RES6
Reserved for future use
Definition LogMask.h:55
ASSA::NONE
@ NONE
Total silence
Definition LogMask.h:63
ASSA::RES8
@ RES8
Reserved for future use
Definition LogMask.h:57
ASSA::USR2
@ USR2
Additional application-level messages
Definition LogMask.h:29
ASSA::ALL_LIB
@ ALL_LIB
All library messages
Definition LogMask.h:61
ASSA::APP
@ APP
Application-level messages
Definition LogMask.h:27
ASSA::RES5
@ RES5
Reserved for future use
Definition LogMask.h:54
ASSA::CMDLINEOPTS
@ CMDLINEOPTS
Class CmdLineOpts messages
Definition LogMask.h:36
ASSA::STRMBUFTRACE
@ STRMBUFTRACE
Extended Streambuf & friends messages
Definition LogMask.h:46
ASSA::ASSAERR
@ ASSAERR
ASSA and system errors
Definition LogMask.h:34
ASSA::USR1
@ USR1
Additional application-level messages
Definition LogMask.h:28
ASSA::XDRBUFTRACE
@ XDRBUFTRACE
Extended xdrIOBuffer messages
Definition LogMask.h:44
ASSA::ALL_APPS
@ ALL_APPS
All application-level messages
Definition LogMask.h:32
ASSA::STRMBUF
@ STRMBUF
Class Streambuf & friends messages
Definition LogMask.h:45
ASSA::TRACE
@ TRACE
Function call trace
Definition LogMask.h:26
ASSA::REACTTRACE
@ REACTTRACE
Extended Reactor/PrioriyQueue messages
Definition LogMask.h:40
ASSA::CHARINBUF
@ CHARINBUF
Class CharInBuffer messages
Definition LogMask.h:50
ASSA::SIGACT
@ SIGACT
Class SigACtion messages
Definition LogMask.h:48
ASSA::ALL
@ ALL
All messages: library + application
Definition LogMask.h:62
ASSA::PIDFLOCK
@ PIDFLOCK
Class PidFileLock messages
Definition LogMask.h:35
ASSA::RES10
@ RES10
Reserved for future use
Definition LogMask.h:59
ASSA::RES9
@ RES9
Reserved for future use
Definition LogMask.h:58