xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
src
XrdMon
XrdMonSndDebug.hh
Go to the documentation of this file.
1
/*****************************************************************************/
2
/* */
3
/* XrdMonSndDebug.hh */
4
/* */
5
/* (c) 2005 by the Board of Trustees of the Leland Stanford, Jr., University */
6
/* All Rights Reserved */
7
/* Produced by Jacek Becla for Stanford University under contract */
8
/* DE-AC02-76SF00515 with the Department of Energy */
9
/*****************************************************************************/
10
11
// $Id$
12
13
#ifndef DEBUG_HH
14
#define DEBUG_HH
15
16
// class responsible for handling log/debug/error messages
17
18
class
XrdMonSndDebug
{
19
public
:
20
enum
Verbosity
{
21
Quiet
= 0x0000,
// No printing
22
23
Generator
= 0x0001,
// related to generating dummy data
24
SCache
= 0x0002,
// related to keeping dummy generated data in cache
25
Sending
= 0x0008,
// related to sending data from xrootd
26
SPacket
= 0x0010,
// building sender's packet
27
All
= 0xFFFF
// Everything
28
};
29
30
static
void
initialize
();
31
32
inline
static
bool
verbose
(
Verbosity
val) {
33
return
_verbose
& val;
34
}
35
36
private
:
37
static
Verbosity
_verbose
;
38
};
39
40
#endif
/* DEBUG_HH */
Generated by
1.8.3.1