Shreds.Log
1.2.0
dotnet add package Shreds.Log --version 1.2.0
NuGet\Install-Package Shreds.Log -Version 1.2.0
<PackageReference Include="Shreds.Log" Version="1.2.0" />
paket add Shreds.Log --version 1.2.0
#r "nuget: Shreds.Log, 1.2.0"
// Install Shreds.Log as a Cake Addin #addin nuget:?package=Shreds.Log&version=1.2.0 // Install Shreds.Log as a Cake Tool #tool nuget:?package=Shreds.Log&version=1.2.0
Work in Progress
Shreds.Log: High-Performance Logging for .NET Applications
Overview
Shreds.Log is a lightweight and efficient logging library designed for .NET applications. It provides a simple and intuitive API for logging messages at various levels, including trace, debug, info, warning, error, and fatal.
Features
- High-performance: Shreds.Log is designed to handle high volumes of log messages with minimal overhead.
- Async logging: Supports asynchronous logging to prevent blocking the main thread.
- Configurable: Allows for customization of log levels, file paths, and other settings.
- Thread-safe: Ensures thread safety for concurrent logging.
- Log rotation: Splits log files into manageable sizes to prevent excessive growth.
- Log compression: Compresses log files to reduce storage space.
Usage
To use Shreds.Log, simply install the NuGet package and import the Shreds.Log
namespace in your project.
using Shreds.Log;
// Create a new log instance
var log = Log.Service["myLog"];
// Log a message
log.Info("Hello, world!");
Configuration
Shreds.Log can be configured using a JSON file or programmatically. See the Config.cs
file for more information.
Roadmap
No deadlines, or target times, as I'm only working on this as a hobby.
- v1.3: Add support for logging into databases.
- v1.4: Refactor and optimizations.
- v1.5: Binary logging and Shreds.LogViewer.
- v2.*: Networked logging and AI.
Contributing
Contributions are welcome! If you'd like to contribute to Shreds.Log, please fork the repository and submit a pull request.
License
Shreds.Log is licensed under the MIT License. See the LICENSE
file for more information.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Shreds.Lib (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Add Exception logging API.