Coverage Report

Created: 2026-09-17 07:23

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