Source code for pibrary.logger
import warnings
from .loguru import logger as loguru_pro
# Optional: Warn users about the new module
warnings.warn(
"The 'logger' module is deprecated and will be removed in a future version. Please update your imports to use 'pibrary.loguru'.",
DeprecationWarning,
stacklevel=2,
)
# Keep using the LoguruPro from loguru.py
# If users directly used `timeit`, maintain that interface