Skip to contents

Messages and verbosity levels

Functions to provide consistent messages to users across our packages, including the handling of different levels of verbosity, and utility functions to retrieve the current verbosity level.

msg() msg_verbose() msg_debug() msg_success() msg_danger() msg_warning() msg_info()
Write messages based on verbosity level
verbosity_level
Verbosity level to control package behavior
get_verbosity_level()
Get verbosity level
get_all_verbosity_levels()
Get all verbosity levels

Options

Functions to create and use package specific options. This framework is heavily inspired by the options package. For packages outside our ecosystem, we recommend using options instead for a more complete implementation.

use_zephyr()
Use zephyr options and verbosity levels
create_option()
Create package option
get_option()
Get value of package option
list_options()
List package options

Utilities

Other utility functions used across our packages.

report_checkmate_assertions()
Report collection of assertions