Skip to main content

Crate hyperlane_plugin_logger

Crate hyperlane_plugin_logger 

Source
Expand description

hyperlane-plugin-logger

A high-concurrency logging plugin for the Hyperlane framework with non-blocking buffered file output, pluggable sinks, plain/JSON formats, and CRLF/ANSI log-forging sanitization.

Structs§

LoggerConfig
The configuration of the logger.
LoggerPlugin
The plugin that writes the log of the server.
RequestLogger
The middleware that notes when a request arrived.
ResponseLogger
The middleware that writes the line of an answered request.

Enums§

LevelFilter
An enum representing the available verbosity level filters of the logger.
LogFormat
Output wire format emitted by LoggerPlugin.

Constants§

DEFAULT_LOGGER_CHANNEL_CAPACITY
Default bounded non-blocking log channel capacity for background file writes.

Traits§

LogSink
Pluggable output sink receiving formatted log records from LoggerPlugin.