open-net 0.3.5

A cross-platform async networking library for Rust with HTTP and WebSocket clients, network status monitoring, configurable retries, WebSocket reconnection and heartbeats, and managed client lifecycles. Reuse common networking infrastructure across applications to avoid repeated implementation and debugging, helping save development time and AI coding tokens.
Documentation
use super::LogLevel;
use super::LogType;

/// Structured log record delivered to logging listeners.
#[derive(Debug, Clone)]
pub struct LogInfo {
    /// Structured origin used to route records; never inferred from the tag.
    pub log_type: LogType,
    /// Source file, line and column. Synthetic overflow records use an empty location.
    pub location: String,
    /// Log severity.
    pub level: LogLevel,
    /// Operation label, kept exactly as supplied (for example, `start_session`).
    /// No origin, SDK prefix or severity suffix is added.
    pub tag: String,
    /// Log payload, often JSON formatted by the exported log macros.
    pub content: String,
    /// Creation timestamp in Unix milliseconds.
    pub create_time: i64,
}