CalsoftLogger 1.0.3
dotnet add package CalsoftLogger --version 1.0.3
NuGet\Install-Package CalsoftLogger -Version 1.0.3
<PackageReference Include="CalsoftLogger" Version="1.0.3" />
<PackageVersion Include="CalsoftLogger" Version="1.0.3" />
<PackageReference Include="CalsoftLogger" />
paket add CalsoftLogger --version 1.0.3
#r "nuget: CalsoftLogger, 1.0.3"
#:package CalsoftLogger@1.0.3
#addin nuget:?package=CalsoftLogger&version=1.0.3
#tool nuget:?package=CalsoftLogger&version=1.0.3
CalsoftLogger
A comprehensive logging library for .NET Framework 4.5+ applications with support for database logging, email notifications, and various log levels.
Features
- Database logging with Dapper ORM
- Email notifications via MailKit
- Multiple log levels (Debug, Info, Warning, Error, Fatal)
- Configuration-based setup
- Easy integration with existing .NET applications
Installation
Install the package via NuGet Package Manager:
Install-Package CalsoftLogger
Or via .NET CLI:
dotnet add package CalsoftLogger
Usage
using CalsoftLogger.Operations;
// Initialize logger
var logger = new Logging();
// Log messages
logger.LogInfo("Application started");
logger.LogError("An error occurred", exception);
logger.LogWarning("Warning message");
Configuration
Configure the logger through your application's configuration file (app.config or web.config).
Requirements
- .NET Framework 4.5.2 or higher
- SQL Server (for database logging)
Note: The package automatically uses the appropriate Dapper version based on your target framework:
- .NET Framework 4.5 - 4.6: Uses Dapper 1.50.2
- .NET Framework 4.6.1+: Uses Dapper 2.0.90
License
This project is licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5.2
- Dapper (>= 1.50.2)
- MailKit (>= 2.15.0)
- Microsoft.AspNet.WebApi.Core (>= 5.2.9)
- MimeKit (>= 2.15.0)
- Newtonsoft.Json (>= 13.0.3)
- Portable.BouncyCastle (>= 1.8.10)
- System.Buffers (>= 4.5.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CalsoftLogger:
Package | Downloads |
---|---|
CalsoftLogger.Web
Web API endpoints for CalsoftLogger - provides HTTP access to logging functionality. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.3 | 193 | 8/5/2025 |
Initial release of CalsoftLogger SDK-style package