Skip to main content

Crate rustbridge_logging

Crate rustbridge_logging 

Source
Expand description

rustbridge-logging - Tracing to FFI callback bridge

This crate provides:

  • FfiLoggingLayer tracing layer that forwards logs to FFI callbacks
  • LogCallback type for the FFI log callback function
  • Dynamic log level filtering

Modules§

prelude
Prelude module for convenient imports

Structs§

FfiLoggingLayer
Tracing layer that forwards log events to FFI callbacks
LogCallbackManager
Manager for FFI log callbacks
ReloadHandle
Handle for dynamically reloading the log level filter

Enums§

LogLevel
Log levels for FFI callbacks

Functions§

init_logging
Initialize the logging system with the FFI layer

Type Aliases§

LogCallback
FFI callback function type for logging