imod.logging.ilogger.ILogger#
- class imod.logging.ilogger.ILogger[source]#
- Bases: - object- Interface to be implemented by all logger wrappers. - __init__()#
 - Methods - __init__()- critical(message[, additional_depth])- Log message with severity ' - CRITICAL'.- debug(message[, additional_depth])- Log message with severity ' - DEBUG'.- error(message[, additional_depth])- Log message with severity ' - ERROR'.- info(message[, additional_depth])- Log message with severity ' - INFO'.- log(loglevel, message[, additional_depth])- logs a message with the specified urgency level. - warning(message[, additional_depth])- Log message with severity ' - WARNING'.- abstractmethod critical(message: str, additional_depth: int = 0) None[source]#
- Log message with severity ‘ - CRITICAL’.- Parameters:
- message (str) – message to be logged 
- additional_depth (Optional[int]) – additional depth level. Use this to correct the filename and line number when you add logging to a decorator 
 
 
 - abstractmethod debug(message: str, additional_depth: int = 0) None[source]#
- Log message with severity ‘ - DEBUG’.- Parameters:
- message (str) – message to be logged 
- additional_depth (Optional[int]) – additional depth level. Use this to correct the filename and line number when you add logging to a decorator 
 
 
 - abstractmethod error(message: str, additional_depth: int = 0) None[source]#
- Log message with severity ‘ - ERROR’.- Parameters:
- message (str) – message to be logged 
- additional_depth (Optional[int]) – additional depth level. Use this to correct the filename and line number when you add logging to a decorator 
 
 
 - abstractmethod info(message: str, additional_depth: int = 0) None[source]#
- Log message with severity ‘ - INFO’.- Parameters:
- message (str) – message to be logged 
- additional_depth (Optional[int]) – additional depth level. Use this to correct the filename and line number when you add logging to a decorator 
 
 
 - log(loglevel: LogLevel, message: str, additional_depth: int = 0) None[source]#
- logs a message with the specified urgency level. 
 - abstractmethod warning(message: str, additional_depth: int = 0) None[source]#
- Log message with severity ‘ - WARNING’.- Parameters:
- message (str) – message to be logged 
- additional_depth (Optional[int]) – additional depth level. Use this to correct the filename and line number when you add logging to a decorator