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=None)[source]

Sets up the logging configuration for all modules.

Parameters:

level (int | Path | None, defaults to None) – An integer representing the logging level. An custom logging configuration can be used when passing a path.

Return type:

None