Module logger

Source
Expand description

Logging support.

This module provides a default log implementation while allowing users to inject their own logger at a higher level.

Generally IRQs are disabled while printing. So do not print long log messages.

Structsยง

Logger ๐Ÿ”’

Staticsยง

LOGGER ๐Ÿ”’

Functionsยง

get_log_level ๐Ÿ”’
init ๐Ÿ”’
Initialize the logger. Users should avoid using the log macros before this function is called.
inject_logger
Injects a logger as the global logger backend.