Skip to content

ui

Utilities for user interface.

Classes

Functions

get_indented_logger

get_indented_logger(name: str) -> IndentedLoggerAdapter

Get a logger with indentation.

print_error

print_error(msg: str) -> None

Raise an error and exit.

print_info

print_info(msg: str) -> None

Echo a message to the console.

print_warning

print_warning(msg: str) -> None

Echo a warning to the console.

setup_logging

setup_logging(verbose: int = 0) -> None

Configure the logging.