ironlog 0.1.1

A web logger for multi-node system logging
Documentation

IronLog is a high-performance, real-time logging solution for Rust applications. Built with reliability and ease-of-use in mind, IronLog empowers developers to gain instant insights into their applications' behavior.

Key Features

  • 🚀 Real-time Logging: Stream logs instantly to a centralized server.
  • 🔍 Structured Logging: JSON-formatted logs for easy parsing and analysis.
  • 🔒 Secure: Uses TCP for reliable log transmission, you don't have to use rust for the client.
  • 📊 Web Interface: Built-in web UI for log viewing and analysis.
  • 🔧 Easy Integration: Simple setup with minimal code.
  • 🔄 Asynchronous: Non-blocking logging operations for optimal performance.

Quick Start

  1. Run the log storage and server:

    cargo install ironlog
    ironlog #leave this running in the background or make it a systemd service
    
  2. Add IronLog to your Cargo.toml:

    [dependencies]
    ironlog = "0.1.1"
    
  3. Initialize IronLog in your main.rs:

    use ironlog::TcpLogger;
    
    fn main() {
        TcpLogger::init("127.0.0.1:5000", "your-app-name", log::LevelFilter::Info).unwrap();
        
        log::info!("Application started"); //will show up in the web interface
    }
    
  4. Start logging!

Usage

IronLog seamlessly integrates with Rust's standard logging facade. Use it just like you would use log: