Coverage Report

Created: 2026-05-16 06:37

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/dcmtk/oflog/libsrc/nullap.cc
Line
Count
Source
1
// Module:  Log4CPLUS
2
// File:    nullappender.cxx
3
// Created: 6/2003
4
// Author:  Tad E. Smith
5
//
6
//
7
// Copyright 2003-2010 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
21
#include "dcmtk/oflog/nullap.h"
22
#include "dcmtk/oflog/thread/syncpub.h"
23
24
25
namespace dcmtk
26
{
27
namespace log4cplus
28
{
29
30
31
///////////////////////////////////////////////////////////////////////////////
32
// NullAppender ctors and dtor
33
///////////////////////////////////////////////////////////////////////////////
34
35
NullAppender::NullAppender()
36
0
{
37
0
}
Unexecuted instantiation: dcmtk::log4cplus::NullAppender::NullAppender()
Unexecuted instantiation: dcmtk::log4cplus::NullAppender::NullAppender()
38
39
40
NullAppender::NullAppender(const helpers::Properties& properties)
41
0
: Appender(properties)
42
0
{
43
0
}
Unexecuted instantiation: dcmtk::log4cplus::NullAppender::NullAppender(dcmtk::log4cplus::helpers::Properties const&)
Unexecuted instantiation: dcmtk::log4cplus::NullAppender::NullAppender(dcmtk::log4cplus::helpers::Properties const&)
44
45
46
47
NullAppender::~NullAppender()
48
0
{
49
0
    destructorImpl();
50
0
}
51
52
53
54
///////////////////////////////////////////////////////////////////////////////
55
// NullAppender public methods
56
///////////////////////////////////////////////////////////////////////////////
57
58
void
59
NullAppender::close()
60
0
{
61
0
}
62
63
64
65
///////////////////////////////////////////////////////////////////////////////
66
// NullAppender protected methods
67
///////////////////////////////////////////////////////////////////////////////
68
69
// This method does not need to be locked since it is called by
70
// doAppend() which performs the locking
71
void
72
NullAppender::append(const spi::InternalLoggingEvent&)
73
0
{
74
0
}
75
76
77
} // namespace log4cplus
78
} // end namespace dcmtk