MarvinFuchs.SharpLog
3.3.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package MarvinFuchs.SharpLog --version 3.3.1
NuGet\Install-Package MarvinFuchs.SharpLog -Version 3.3.1
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="MarvinFuchs.SharpLog" Version="3.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MarvinFuchs.SharpLog" Version="3.3.1" />
<PackageReference Include="MarvinFuchs.SharpLog" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MarvinFuchs.SharpLog --version 3.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MarvinFuchs.SharpLog, 3.3.1"
#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.
#:package MarvinFuchs.SharpLog@3.3.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MarvinFuchs.SharpLog&version=3.3.1
#tool nuget:?package=MarvinFuchs.SharpLog&version=3.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Welcome to SharpLog
A small logger for big projects.
Installation and usage under Get started.
Check out the documentation!
Features
- Fast and easy to use
- No setup required
- Easy to customize
Outputs
Outputs are used to display, pass or store your log messages. Sharplog can write to one ore multiple outputs.
Some outputs are already provided out-of-the-box:
💻Print your logs to the standard console including color coding!
📂Store your logs in a log file without blocking the file!
📮Send your logs via email!
Example
SharpLog.Logging.LogDebug("Debug!");
SharpLog.Logging.LogTrace("Trace!");
SharpLog.Logging.LogInfo("Info!");
SharpLog.Logging.LogWarning("Warning!");
SharpLog.Logging.LogError("Error!");
SharpLog.Logging.LogFatal( //🚪Exits program after logging your message.
"Fatal!",
exception: new Exception("Test"),
stackTrace: true);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- StyleCop.Analyzers (>= 1.1.118)
- System.Runtime (>= 4.3.1)
- YamlDotNet (>= 11.2.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MarvinFuchs.SharpLog:
| Package | Downloads |
|---|---|
|
GameSense
GameSense API to control SteelSeries products. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 3.6.2 | 506 | 4/21/2023 | |
| 3.6.1 | 302 | 4/21/2023 | |
| 3.6.0 | 399 | 2/26/2023 | |
| 3.5.0 | 400 | 2/23/2023 | |
| 3.4.1 | 447 | 11/20/2022 | |
| 3.4.0 | 509 | 10/24/2022 | |
| 3.3.2 | 516 | 10/18/2022 | |
| 3.3.1 | 528 | 10/17/2022 | |
| 3.3.0 | 515 | 10/17/2022 | |
| 3.2.0 | 509 | 10/17/2022 | |
| 3.1.0 | 523 | 10/16/2022 | |
| 3.0.0 | 713 | 4/25/2022 | |
| 2.4.3 | 749 | 11/28/2021 | |
| 2.4.2 | 804 | 11/3/2021 | |
| 2.4.1 | 794 | 11/2/2021 | |
| 2.4.0 | 771 | 11/1/2021 | |
| 2.3.0 | 2,220 | 8/24/2021 | |
| 2.2.0 | 792 | 8/21/2021 | |
| 2.1.0 | 777 | 8/20/2021 | |
| 2.0.0 | 791 | 8/19/2021 | |
| 1.0.2 | 792 | 7/12/2021 | |
| 1.0.1 | 857 | 7/5/2021 | |
| 1.0.0 | 1,322 | 7/4/2021 |