Skip to main content

Crate tipc_log

Crate tipc_log 

Source
Expand description

Trusty simple logger backend (replaces trusty-log).

Logs to stderr based on a compile-time configured log level. In no_std (TEE) builds, writes directly via the writev syscall without depending on libc-trusty or libstd-rust.

Structs§

TrustyLogger
The global logger instance.
TrustyLoggerConfig
Logger configuration.

Functions§

init
Initialize the global logger with default configuration (Level::Info).
init_with_config
Initialize the global logger with custom configuration.

Type Aliases§

FormatFn
Closure type for custom log formatting.