hooks_log.cc 731 B

1234567891011121314151617181920212223242526
  1. // Copyright (C) 2011-2017 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. /// Defines the logger used by the Hooks
  7. #include <hooks/hooks_log.h>
  8. #include <log/macros.h>
  9. namespace isc {
  10. namespace hooks {
  11. isc::log::Logger hooks_logger("hooks");
  12. isc::log::Logger callouts_logger("callouts");
  13. const int HOOKS_DBG_TRACE = isc::log::DBGLVL_TRACE_BASIC;
  14. const int HOOKS_DBG_CALLS = isc::log::DBGLVL_TRACE_BASIC_DATA;
  15. const int HOOKS_DBG_EXTENDED_CALLS = isc::log::DBGLVL_TRACE_DETAIL_DATA;
  16. } // namespace hooks
  17. } // namespace isc