core.common: deprecate outdated LazyLogger alias

This commit is contained in:
Dima Gerasimov 2024-08-16 12:12:40 +03:00
parent e0d1dbd533
commit 524655d9f8
13 changed files with 50 additions and 30 deletions

View file

@ -485,8 +485,8 @@ def _locate_functions_or_prompt(qualified_names: List[str], prompt: bool = True)
def _warn_exceptions(exc: Exception) -> None:
from my.core.common import LazyLogger
logger = LazyLogger('CLI', level='warning')
from my.core import make_logger
logger = make_logger('CLI', level='warning')
logger.exception(f'hpi query: {exc}')