Icomm.Logs (0.3.1)
Published 2025-05-05 22:22:37 +07:00 by Long Nguyễn Đình - Core
Installation
dotnet nuget add source --name ic --username your_username --password your_token https://git.icomm.vn/api/packages/ic/nuget/index.jsondotnet add package --source ic --version 0.3.1 Icomm.LogsAbout this package
Utility Logs
Getting started
To use the OpenTelemetry sink, first install the NuGet package:
dotnet add package Icomm.Logs
Register DI:
Host.CreateDefaultBuilder(args)
...
.UseIcommLog()
Write Log with Context
private static readonly Serilog.ILogger Log = Serilog.Log.ForContext<TClass>();
Log.Info(...);
Log.Error(ex,...);
Write Log Static:
using Serilog;
Log.Info(...);
Log.Error(ex,...);
Dependencies
Details
2025-05-05 22:22:37 +07:00
Assets (2)
Versions (12)
View all
NuGet
19
long.nguyen
13 KiB
icomm.logs.0.3.1.nupkg
11 KiB
icomm.logs.nuspec
1.8 KiB