netconf_log.cc 815 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

/// @file netconf_log.cc
/// Contains the loggers used by the netconf agent.

#include <config.h>

#include <netconf/netconf_log.h>

namespace isc {
namespace netconf {

17 18 19 20 21
extern const int NETCONF_DBG_TRACE = isc::log::DBGLVL_TRACE_BASIC;
extern const int NETCONF_DBG_RESULTS = isc::log::DBGLVL_TRACE_BASIC_DATA;
extern const int NETCONF_DBG_TRACE_DETAIL_DATA =
    isc::log::DBGLVL_TRACE_DETAIL_DATA;

22 23 24 25 26 27 28
const char* NETCONF_LOGGER_NAME = "netconf";

isc::log::Logger netconf_logger(NETCONF_LOGGER_NAME);

} // namespace netconf
} // namespace isc