CoreLogs 1.0.9.1

dotnet add package CoreLogs --version 1.0.9.1                
NuGet\Install-Package CoreLogs -Version 1.0.9.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="CoreLogs" Version="1.0.9.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CoreLogs --version 1.0.9.1                
#r "nuget: CoreLogs, 1.0.9.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.
// Install CoreLogs as a Cake Addin
#addin nuget:?package=CoreLogs&version=1.0.9.1

// Install CoreLogs as a Cake Tool
#tool nuget:?package=CoreLogs&version=1.0.9.1                

Removed following packages from the version 1.0.0 Microsoft.Extensions.Configuration.FileExtensions Microsoft.Extensions.FileProviders.Abstractions Newtonsoft.Json

Handled few exceptions

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.9.1 105 9/3/2023

This package is used to add logs to file and database for asp.net core applications.
You need to add below two Keys in appsettings.json file.
"PLogFilePath": "local file path",
"PLogConnectionString": "connection string".
1) Remember for the file path you need to remove readonly access to the folder.
2) For db logs you need to create a table with the name "Logs" with columns (ID(Primary Key and auto increment), LogType, Message, CreatedOn).
3) Use namespace using PLog;
4) Use below syntax to log the errors.
    Logger.Error("this is test Error log");
    Logger.Info("this is test Info log");
    Logger.Warning("this is test Warning log");