VersaTul.Logger.Mail 1.0.15

Prefix Reserved
dotnet add package VersaTul.Logger.Mail --version 1.0.15                
NuGet\Install-Package VersaTul.Logger.Mail -Version 1.0.15                
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.15" />                
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.15                
#r "nuget: VersaTul.Logger.Mail, 1.0.15"                
#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.15

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

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.15 119 4/5/2024
1.0.14 97 4/4/2024
1.0.13 111 4/4/2024
1.0.12 128 3/1/2024
1.0.11 112 2/2/2024
1.0.10 112 1/15/2024
1.0.9 122 1/11/2024
1.0.8 171 7/22/2023