mc d0eb095ebc
Some checks failed
Pack and Push NuGet Package / publish (push) Failing after 46s
Update README.md
2025-07-01 14:08:06 +00:00
2024-08-03 17:43:54 +02:00
2024-08-03 15:04:00 +00:00
2025-07-01 14:08:06 +00:00

portaloggy

A minimal, highly-portable, thread-safe .NET logging abstraction and implementation. Use portaloggy.ILogger everywhere. Make use of portaloggy.LoggerExtensions to make easy logging even easier. Already contains ConsoleLogger for dead-simple console logging and AggregatedLogger for simultaneous logging to multiple instances of ILogger.

Why

Existing logging solutions were too complicated for me. I want something I just instantiate, it has no decorators, formatters, loaders, configs, extensions for init, and tons of other garbage just so it can log a fucking message to a console window.

How to use

var logger = new ConsoleLogger(); it's literally this simple. It will straight up start logging (pretty) messages to console, with accurate time, severity, message and even exception formatting and stacktrace if you provide the arguments.

How it works

See ILogger interface. It's really simple. Use extensions to provide friendlier use for usual usecases separated by severity (Warning(), Error(), etc.).

Description
A minimal, highly-portable, thread-safe .NET logging abstraction and implementation.
Readme MIT 378 KiB
1.0.2 Latest
2025-07-01 17:48:17 +02:00
Languages
C# 100%