VersaTul.Logger.Mail 1.0.16

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package VersaTul.Logger.Mail --version 1.0.16                
NuGet\Install-Package VersaTul.Logger.Mail -Version 1.0.16                
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="VersaTul.Logger.Mail" Version="1.0.16" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VersaTul.Logger.Mail --version 1.0.16                
#r "nuget: VersaTul.Logger.Mail, 1.0.16"                
#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 VersaTul.Logger.Mail as a Cake Addin
#addin nuget:?package=VersaTul.Logger.Mail&version=1.0.16

// Install VersaTul.Logger.Mail as a Cake Tool
#tool nuget:?package=VersaTul.Logger.Mail&version=1.0.16                

VersaTul Logger Mail

VersaTul Logger Mail is a project that provides the functionality to perform logging to an email address or addresses. It implements the ILogger interface from the VersaTul Logger project and uses the VersaTul Mailer project to send emails.

Installation

You can install VersaTul Logger Mail from NuGet using the following command:

PM> NuGet\Install-Package VersaTul.Logger.Mail -Version latest

Usage

To use VersaTul Logger Mail, you need to create an instance of the MailLogger class and pass in the email address or addresses that you want to log to. For example:

using VersaTul.Logger.Mail;

// Create a mail logger that logs to errors@domain.com
IMailLogger logger = new MailLogger("errors@domain.com");

// Log a message with the default level (Info)
logger.Log("This is a test message");

// Log a message with a specific level (Error)
logger.Log("This is an error message", LogLevel.Error);

License

VersaTul Logger Mail is licensed under the MIT License. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.17 70 12/10/2024
1.0.16 64 12/10/2024
1.0.15 124 4/5/2024
1.0.14 109 4/4/2024
1.0.13 117 4/4/2024
1.0.12 134 3/1/2024
1.0.11 118 2/2/2024
1.0.10 118 1/15/2024
1.0.9 128 1/11/2024
1.0.8 177 7/22/2023