OzaLog
Lean. Minimal API. HFT-grade async pipeline. A local file logging library built for .NET applications.
Core Features
⚡
Minimal API
One line LOG.Info_Log("...") — no DI, no LoggerFactory.
🚀
HFT-grade Async
ConcurrentQueue + persistent FileStream pool + 1ms cached timestamp + drop-oldest backpressure.
📦
Zero Dependencies
Zero NuGet dependencies on net8.0 / net9.0 / net10.0.
🔒
Thread-safe
Thread-safe by default; designed for high-throughput multi-threaded scenarios like crypto tick streams.
Quick Start
1. Install the package
dotnet add package OzaLog2. Use immediately
using OzaLog;
LOG.Info_Log("Hello, OzaLog!");
LOG.Error_Log("Something went wrong", exception);3. (Optional) Configure
LOG.Configure(opt => {
opt.KeepDays = -7;
opt.SetFileSizeInMB(50);
opt.EnableAsyncLogging = true;
});