smac.utils.logging

Functions

get_logger(logger_name)

Get the logger by name.

setup_logging([level])

Sets up the logging configuration for all modules.

Interfaces

smac.utils.logging.get_logger(logger_name)[source]

Get the logger by name.

Return type:

Logger

smac.utils.logging.setup_logging(level=False)[source]

Sets up the logging configuration for all modules.

Parameters:

level (int | Path | Literal[False] | None, defaults to None) – An integer representing the logging level. An custom logging configuration can be used when passing a path. If False, no logging setup is performed.

Return type:

None