NIC.Logger
2.0.0
See the version list below for details.
dotnet add package NIC.Logger --version 2.0.0
NuGet\Install-Package NIC.Logger -Version 2.0.0
<PackageReference Include="NIC.Logger" Version="2.0.0" />
paket add NIC.Logger --version 2.0.0
#r "nuget: NIC.Logger, 2.0.0"
// Install NIC.Logger as a Cake Addin
#addin nuget:?package=NIC.Logger&version=2.0.0
// Install NIC.Logger as a Cake Tool
#tool nuget:?package=NIC.Logger&version=2.0.0
After adding the reference from the Nuget Package to your AspNetCore project successfully.
Because this library inherits from log4net, you must create a logger.xml file or copy it from the link below: https://drive.google.com/file/d/1iSIzNX00XtlduqkeuL_2i50ggv0snwAU/view?usp=sharing
How to use NIC.Logger // Default logger CommonLogger.Default.Error("Log default error"); CommonLogger.Default.Info("Log default info"); CommonLogger.Default.Debug("Log default debug");
// Payment logger CommonLogger.Payment.Error("Log payment error"); CommonLogger.Payment.Info("Log payment info"); CommonLogger.Payment.Debug("Log payment debug");
// Request logger CommonLogger.Request.Error("Log request error"); CommonLogger.Request.Info("Log request info"); CommonLogger.Request.Debug("Log request debug");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.2
- log4net (>= 2.0.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.