CalsoftLogger 1.0.3

dotnet add package CalsoftLogger --version 1.0.3
                    
NuGet\Install-Package CalsoftLogger -Version 1.0.3
                    
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="CalsoftLogger" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CalsoftLogger" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="CalsoftLogger" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CalsoftLogger --version 1.0.3
                    
#r "nuget: CalsoftLogger, 1.0.3"
                    
#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.
#:package CalsoftLogger@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CalsoftLogger&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=CalsoftLogger&version=1.0.3
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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