SunnyMehr.LoggerService
6.0.5
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 SunnyMehr.LoggerService --version 6.0.5
NuGet\Install-Package SunnyMehr.LoggerService -Version 6.0.5
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="SunnyMehr.LoggerService" Version="6.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SunnyMehr.LoggerService --version 6.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SunnyMehr.LoggerService, 6.0.5"
#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 SunnyMehr.LoggerService as a Cake Addin #addin nuget:?package=SunnyMehr.LoggerService&version=6.0.5 // Install SunnyMehr.LoggerService as a Cake Tool #tool nuget:?package=SunnyMehr.LoggerService&version=6.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
- Add SunnyMehr.LoggerService nuget to your project.
- Add following tag to appSettings
"ApplicationSettings": { "ApplicationName": "_ApplicationName_" }, "ElasticConfiguration": { "Uri": "http://x.x.x.x:9200" }
- Add the following code to Startup before builder.Build()
builder.Services.AddSerilogDependencyInjections(builder.Host);
- Add the following code to Startup after builder.Build()
SerilogDependencyInjection.ConfigureSerilog(app);
- Create a folder in your project with name: Logs
- Its highly recommended to create manual based on below sample:
_ = Task.Run(() => _logger.LogInformation(eventId: EventTool.GetEventInformation(eventType: EventType._Type_, eventName: "_EventName_"), "_MessageString_"));
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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.
-
net6.0
- NLog.Extensions.Logging (>= 1.7.4)
- NuGet.Versioning (>= 6.0.0)
- Serilog (>= 2.10.0)
- Serilog.AspNetCore (>= 4.1.0)
- Serilog.Enrichers.ClientInfo (>= 1.1.4)
- Serilog.Enrichers.Environment (>= 2.2.0)
- Serilog.Exceptions (>= 8.0.0)
- Serilog.Exceptions.EntityFrameworkCore (>= 8.0.0)
- Serilog.Sinks.Console (>= 4.0.1)
- Serilog.Sinks.Elasticsearch (>= 8.4.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on SunnyMehr.LoggerService:
Package | Downloads |
---|---|
SunnyMehr.CacheManager
Package Description |
|
SunnyMehr.AzureMedia
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 280 | 2/24/2024 |
7.2.4 | 385 | 12/9/2023 |
7.2.3 | 118 | 12/9/2023 |
7.2.2 | 122 | 12/9/2023 |
7.2.1 | 439 | 8/19/2023 |
7.2.0 | 558 | 7/27/2023 |
7.1.10 | 531 | 7/26/2023 |
7.1.9 | 167 | 7/26/2023 |
7.1.8 | 167 | 7/26/2023 |
7.1.7 | 493 | 3/1/2023 |
7.1.6 | 278 | 2/1/2023 |
7.1.5 | 308 | 12/26/2022 |
7.1.4 | 294 | 12/26/2022 |
7.1.3 | 426 | 10/13/2022 |
7.1.2 | 975 | 9/23/2022 |
7.1.1 | 418 | 9/23/2022 |
7.1.0 | 443 | 9/22/2022 |
7.0.9 | 442 | 9/22/2022 |
7.0.8 | 876 | 9/14/2022 |
7.0.7 | 468 | 9/14/2022 |
7.0.6 | 476 | 8/31/2022 |
7.0.5 | 408 | 8/31/2022 |
7.0.4 | 418 | 8/31/2022 |
7.0.3 | 426 | 8/31/2022 |
7.0.2 | 424 | 8/31/2022 |
7.0.1 | 420 | 8/31/2022 |
7.0.0 | 441 | 8/31/2022 |
6.3.0 | 1,999 | 7/26/2022 |
6.2.4 | 1,730 | 7/14/2022 |
6.2.3 | 480 | 7/6/2022 |
6.2.2 | 454 | 5/30/2022 |
6.2.1 | 472 | 4/28/2022 |
6.2.0 | 444 | 4/28/2022 |
6.1.4 | 446 | 4/12/2022 |
6.1.3 | 457 | 4/12/2022 |
6.1.2 | 473 | 4/11/2022 |
6.1.1 | 471 | 3/12/2022 |
6.1.0 | 469 | 3/11/2022 |
6.0.10 | 441 | 3/11/2022 |
6.0.9 | 474 | 2/8/2022 |
6.0.8 | 1,442 | 1/23/2022 |
6.0.7 | 470 | 1/23/2022 |
6.0.6 | 304 | 1/10/2022 |
6.0.5 | 309 | 1/4/2022 |
6.0.4 | 294 | 12/28/2021 |
6.0.3 | 307 | 12/28/2021 |
6.0.2 | 316 | 12/28/2021 |
6.0.1 | 318 | 12/20/2021 |
1.0.0 | 634 | 12/15/2021 |