mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-24 07:41:10 -04:00
Initializing the conftest logging upon importing the isctest package isn't practical when there are standalone pieces which can be used outside of the testing framework, such as the asyncdnsserver module.
26 lines
712 B
Python
26 lines
712 B
Python
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
#
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
#
|
|
# 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 https://mozilla.org/MPL/2.0/.
|
|
#
|
|
# See the COPYRIGHT file distributed with this work for additional
|
|
# information regarding copyright ownership.
|
|
|
|
from .basic import (
|
|
avoid_duplicated_logs,
|
|
deinit_module_logger,
|
|
deinit_test_logger,
|
|
init_conftest_logger,
|
|
init_module_logger,
|
|
init_test_logger,
|
|
debug,
|
|
info,
|
|
warning,
|
|
error,
|
|
critical,
|
|
)
|
|
|
|
from .watchlog import LogFile, WatchLogFromStart, WatchLogFromHere
|