core.common: deprecate outdated LazyLogger alias

This commit is contained in:
Dima Gerasimov 2024-08-16 12:12:40 +03:00 committed by karlicoss
parent 614c929f95
commit 7023088d13
13 changed files with 50 additions and 30 deletions

View file

@ -13,10 +13,15 @@ from .utils.itertools import warn_if_empty
from .cfg import make_config
from .error import Res, unwrap
from .logging import make_logger, LazyLogger
from .logging import (
make_logger,
)
from .util import __NOT_HPI_MODULE__
LazyLogger = make_logger # TODO deprecate this in favor of make_logger
if not TYPE_CHECKING:
# we used to keep these here for brevity, but feels like it only adds confusion,
# e.g. suggest that we perhaps somehow modify builtin behaviour or whatever