Source code for imod.logging.nulllogger

from imod.logging.ilogger import ILogger


[docs] class NullLogger(ILogger): """ The :class:`NullLogger` is used as a dummy logger that doesn't log anything. """
[docs] def __init__(self) -> None: pass
[docs] def debug(self, message: str, additional_depth: int = 0) -> None: pass
[docs] def info(self, message: str, additional_depth: int = 0) -> None: pass
[docs] def warning(self, message: str, additional_depth: int = 0) -> None: pass
[docs] def error(self, message: str, additional_depth: int = 0) -> None: pass
[docs] def critical(self, message: str, additional_depth: int = 0) -> None: pass