logging

Logging configuration for Byte

Centralized logging configuration.

byte_bot.byte.lib.log.get_logger(name: str = '__main__') Logger[source]

Get a logger with the specified name.

Parameters:

name (str) – The name of the logger.

Returns:

The logger with the specified name.

Return type:

logging.Logger

byte_bot.byte.lib.log.setup_logging() None[source]

Set up logging configuration based on the environment.