Shreds.Log 1.2.0

dotnet add package Shreds.Log --version 1.2.0                
NuGet\Install-Package Shreds.Log -Version 1.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Shreds.Log" Version="1.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shreds.Log --version 1.2.0                
#r "nuget: Shreds.Log, 1.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 97 9/2/2024
1.1.0 101 8/30/2024
1.0.0 100 8/29/2024

Add Exception logging API.