lakehouse.utils.lhlogging
- lakehouse.utils.lhlogging.createLogger() Logger
Creates a logger object and prints the logging at each step.
- Parameters:
name – Name of the logger. In many cases it is the datasource name.
- Returns:
Logger instance
- lakehouse.utils.lhlogging.log(description: str, tbl_pos: int) Callable
A decorator for logging the execution of a function.
- Parameters:
description – Description of the function execution to log.
tbl_pos – Position of the table name argument in the function signature.
- Returns:
Callable - A wrapper function with logging functionality.