log4cplus
2.0.6
include
log4cplus
spi
rootlogger.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
// Module: Log4CPLUS
3
// File: rootlogger.h
4
// Created: 6/2001
5
// Author: Tad E. Smith
6
//
7
//
8
// Copyright 2001-2017 Tad E. Smith
9
//
10
// Licensed under the Apache License, Version 2.0 (the "License");
11
// you may not use this file except in compliance with the License.
12
// You may obtain a copy of the License at
13
//
14
// http://www.apache.org/licenses/LICENSE-2.0
15
//
16
// Unless required by applicable law or agreed to in writing, software
17
// distributed under the License is distributed on an "AS IS" BASIS,
18
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
// See the License for the specific language governing permissions and
20
// limitations under the License.
21
24
#ifndef LOG4CPLUS_SPI_ROOT_LOGGER_HEADER_
25
#define LOG4CPLUS_SPI_ROOT_LOGGER_HEADER_
26
27
#include <
log4cplus/config.hxx
>
28
29
#if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
30
#pragma once
31
#endif
32
33
#include <
log4cplus/spi/loggerimpl.h
>
34
35
namespace
log4cplus
{
36
namespace
spi {
37
47
class
LOG4CPLUS_EXPORT
RootLogger
:
public
LoggerImpl
{
48
public
:
49
// Ctors
54
RootLogger
(
Hierarchy
& h,
LogLevel
ll);
55
56
// Methods
61
virtual
LogLevel
getChainedLogLevel()
const
;
62
67
void
setLogLevel(
LogLevel
);
68
69
};
70
71
}
// end namespace spi
72
}
// end namespace log4cplus
73
74
#endif // LOG4CPLUS_SPI_ROOT_LOGGER_HEADER_
75
log4cplus
Definition:
appender.h:46
loggerimpl.h
log4cplus::spi::LoggerImpl
This is the central class in the log4cplus package.
Definition:
loggerimpl.h:51
log4cplus::spi::RootLogger
RootLogger sits at the top of the logger hierachy.
Definition:
rootlogger.h:47
config.hxx
log4cplus::Hierarchy
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.
Definition:
hierarchy.h:63
log4cplus::LogLevel
int LogLevel
Definition:
loglevel.h:48
LOG4CPLUS_EXPORT
#define LOG4CPLUS_EXPORT
Definition:
win32.h:141
Generated on Fri Jun 18 2021 08:46:20 for log4cplus by
1.8.17