bind9/bin/tests/system/isctest/log/__init__.py
Tom Krizek 673387c4d5
Move conftest log initialization to conftest.py
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.
2024-03-20 09:22:36 +01:00

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