Kea
1.5.0
logger_name.h
Go to the documentation of this file.
1
// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
2
//
3
// This Source Code Form is subject to the terms of the Mozilla Public
4
// License, v. 2.0. If a copy of the MPL was not distributed with this
5
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
#ifndef LOGGER_NAME_H
8
#define LOGGER_NAME_H
9
10
#include <string>
11
16
// is something like "root"). These trivial functions allow the setting and
17
// getting of that name by the logger classes.
18
19
namespace
isc
{
20
namespace
log {
21
28
void
setRootLoggerName
(
const
std::string& name);
29
33
const
std::string&
getRootLoggerName
();
34
35
39
const
std::string&
getDefaultRootLoggerName
();
40
50
std::string
expandLoggerName
(
const
std::string& name);
51
52
}
53
}
54
55
#endif // LOGGER_NAME_H
isc::log::getRootLoggerName
const std::string & getRootLoggerName()
Get root logger name.
Definition:
logger_name.cc:33
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:144
isc::log::getDefaultRootLoggerName
const std::string & getDefaultRootLoggerName()
Returns the default ('kea') root logger name.
Definition:
logger_name.cc:37
isc::log::expandLoggerName
std::string expandLoggerName(const std::string &name)
Expand logger name.
Definition:
logger_name.cc:42
isc::log::setRootLoggerName
void setRootLoggerName(const std::string &name)
Set root logger name.
Definition:
logger_name.cc:29
src
lib
log
logger_name.h
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18