OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
oflog
include
dcmtk
oflog
helpers
loglog.h
Go to the documentation of this file.
1
// Module: Log4CPLUS
2
// File: loglog.h
3
// Created: 6/2001
4
// Author: Tad E. Smith
5
//
6
//
7
// Copyright 2001-2009 Tad E. Smith
8
//
9
// Licensed under the Apache License, Version 2.0 (the "License");
10
// you may not use this file except in compliance with the License.
11
// You may obtain a copy of the License at
12
//
13
// http://www.apache.org/licenses/LICENSE-2.0
14
//
15
// Unless required by applicable law or agreed to in writing, software
16
// distributed under the License is distributed on an "AS IS" BASIS,
17
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
// See the License for the specific language governing permissions and
19
// limitations under the License.
20
23
#ifndef _LOG4CPLUS_HELPERS_LOGLOG
24
#define _LOG4CPLUS_HELPERS_LOGLOG
25
26
#include "dcmtk/oflog/config.h"
27
#include "
dcmtk/oflog/tstring.h
"
28
#include "
dcmtk/oflog/helpers/pointer.h
"
29
#include "
dcmtk/oflog/helpers/threads.h
"
30
31
32
namespace
log4cplus {
33
namespace
helpers {
34
48
class
LOG4CPLUS_EXPORT
LogLog
49
:
public
virtual
log4cplus::helpers::SharedObject
50
{
51
public
:
52
// Static methods
56
static
log4cplus::helpers::SharedObjectPtr<LogLog>
getLogLog();
57
58
62
void
setInternalDebugging(
bool
enabled);
63
70
void
setQuietMode(
bool
quietMode);
71
76
void
debug(
const
log4cplus::tstring
& msg);
77
83
void
error(
const
log4cplus::tstring
& msg);
84
90
void
warn(
const
log4cplus::tstring
& msg);
91
92
// Dtor
93
virtual
~
LogLog
();
94
95
// Data
96
LOG4CPLUS_MUTEX_PTR_DECLARE mutex;
97
98
private
:
99
// Data
100
bool
debugEnabled;
101
bool
quietMode;
102
103
// Ctors
104
LogLog
();
105
LogLog
(
const
LogLog
&);
106
};
107
108
}
// end namespace helpers
109
}
// end namespace log4cplus
110
111
112
#endif // _LOG4CPLUS_HELPERS_LOGLOG
113
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2