VersaTul.Logger.Web 1.0.17

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package VersaTul.Logger.Web --version 1.0.17
NuGet\Install-Package VersaTul.Logger.Web -Version 1.0.17
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.Web" Version="1.0.17" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VersaTul.Logger.Web --version 1.0.17
#r "nuget: VersaTul.Logger.Web, 1.0.17"
#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.Web as a Cake Addin
#addin nuget:?package=VersaTul.Logger.Web&version=1.0.17

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

VersaTul Logger Web

VersaTul Logger Web is a project that provides the functionality needed to perform logging to a web address or end point. It implements the ILogger interface from the VersaTul Logger project.

Installation

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

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

Usage

To use the VersaTul Logger Web project, you need to create an instance of the WebLogger class and pass it an implementation of the ILogWebConfiguration interface. The WebLogger class implements the IWebLogger interface, which represents the functionality needed to log to an API endpoint. The ILogWebConfiguration interface represents the functionality needed to get settings for the Web logger, such as the BaseUrl and the LogEndPoint properties.

Here is an example of how to use the WebLogger class:

// Create a configuration object that implements the ILogWebConfiguration interface
ILogWebConfiguration config = new LogWebConfiguration();

// Set the BaseUrl and LogEndPoint properties
config.BaseUrl = "http://domain.com";
config.LogEndPoint = "/api/log";

// Create a WebLogger object and pass the configuration object
IWebLogger logger = new WebLogger(config);

// Use the logger methods to log messages to the API endpoint
logger.LogInfo("This is an info message");
logger.LogError("This is an error message");
logger.LogDebug("This is a debug message");

License

This project is licensed under the MIT License - see the LICENSE file for detailss

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 86 4/5/2024
1.0.16 88 4/4/2024
1.0.15 87 4/4/2024
1.0.14 91 3/1/2024
1.0.13 83 2/2/2024
1.0.12 73 2/1/2024
1.0.11 76 1/20/2024
1.0.10 83 1/15/2024
1.0.9 91 1/11/2024
1.0.8 153 7/22/2023