iterative/dvc

View on GitHub
dvc/log.py

Summary

Maintainability
A
0 mins
Test Coverage
# using a separate module instead of using `dvc.logger` to not create an import-cycle.
import logging


class LoggerWithTrace(logging.Logger):
    # only for type checking
    trace = logging.debug


logger: "LoggerWithTrace" = logging.getLogger()  # type: ignore[assignment]