Module boot_logger

Source
Expand description

Logging support for the bootshim.

The bootshim performs no filtering of its logging messages when running in a confidential VM. This is because it runs before any keys can be accessed or any guest code is executed, and therefore it can not leak anything sensitive.

Macros§

debug_log 🔒
This emits the same as log!, but is intended for local debugging and is linted against to not pass CI. Use for local development when you just need debug prints.
log 🔒
Log a message. These messages are always emitted regardless of debug or release, if a corresponding logger was configured.

Structs§

BootLogger

Enums§

Logger 🔒
LoggerType
The logging type to use.

Statics§

BOOT_LOGGER

Functions§

boot_logger_init
Initialize the boot logger. This replaces any previous init calls.