Skip to main content

get_logger

Get logger by name.

def get_logger(
name: string
) - > logging.Logger

Get logger by name.

Parameters

NameTypeDescription
namestringThe unique identifier for the logger, typically the module's name

Returns

TypeDescription
logging.LoggerThe configured logger instance, ensuring it is correctly parented to the base_logger if it is not already part of the root hierarchy.