summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/TraceLevels.h
blob: 11e5a8523557c577c64306d0fdee28cbb5d99b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

#ifndef ICE_GRID_TRACE_LEVELS_H
#define ICE_GRID_TRACE_LEVELS_H

#include <IceUtil/Shared.h>
#include <Ice/CommunicatorF.h>
#include <Ice/LoggerF.h>

namespace IceGrid
{

class TraceLevels : public ::IceUtil::Shared
{
public:

    TraceLevels(const Ice::CommunicatorPtr&, const std::string&);
    virtual ~TraceLevels();

    const int admin;
    const char* adminCat;

    const int application;
    const char* applicationCat;

    const int node;
    const char* nodeCat;

    const int replica;
    const char* replicaCat;

    const int server;
    const char* serverCat;

    const int adapter;
    const char* adapterCat;

    const int object;
    const char* objectCat;

    const int activator;
    const char* activatorCat;

    const int locator;
    const char* locatorCat;

    const int session;
    const char* sessionCat;

    const int discovery;
    const char* discoveryCat;

    const Ice::LoggerPtr logger;
};

typedef IceUtil::Handle<TraceLevels> TraceLevelsPtr;

} // End namespace IceGrid

#endif