diff options
Diffstat (limited to 'src/lib/eval')
-rw-r--r-- | src/lib/eval/eval_log.cc | 5 | ||||
-rw-r--r-- | src/lib/eval/eval_log.h | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/eval/eval_log.cc b/src/lib/eval/eval_log.cc index 6492ad69c7..d9aeffa833 100644 --- a/src/lib/eval/eval_log.cc +++ b/src/lib/eval/eval_log.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2015-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 @@ -13,6 +13,9 @@ namespace isc { namespace dhcp { +extern const int EVAL_DBG_TRACE = isc::log::DBGLVL_TRACE_BASIC; +extern const int EVAL_DBG_STACK = isc::log::DBGLVL_TRACE_DETAIL_DATA; + isc::log::Logger eval_logger("eval"); } // namespace dhcp diff --git a/src/lib/eval/eval_log.h b/src/lib/eval/eval_log.h index 0b33c43717..566702545f 100644 --- a/src/lib/eval/eval_log.h +++ b/src/lib/eval/eval_log.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2015-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 @@ -19,11 +19,11 @@ namespace dhcp { /// Note that higher numbers equate to more verbose (and detailed) output. // The first level traces normal operations, -const int EVAL_DBG_TRACE = isc::log::DBGLVL_TRACE_BASIC; +extern const int EVAL_DBG_TRACE; // Additional information on the calls. Report the values that were // popped from or pushed to the value stack. -const int EVAL_DBG_STACK = isc::log::DBGLVL_TRACE_DETAIL_DATA; +extern const int EVAL_DBG_STACK; /// @brief Eval Logger /// |