pub type LogHandler = Arc<dyn Fn(&str) + Send + Sync>;Expand description
Runtime configuration for the HTTP server adapter.
The HTTP adapter keeps environment-specific concerns, such as the storage root and
authentication secret, outside the Core transformation API. Tests and embedding runtimes
can construct this value directly, while the CLI entry point typically uses
ServerConfig::from_env to load the same fields from process environment variables.
A logging callback invoked by the server for diagnostic messages.
Adapters that embed the server can supply a custom handler to route messages to their preferred logging infrastructure instead of stderr.
Aliased Typeยง
pub struct LogHandler { /* private fields */ }