open-net 0.2.0

A cross-platform async networking library with WebSocket clients and network status monitoring.
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,
    /// Log tag identifying the subsystem or operation.
    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,
}