MoleculeSoftware.Packages.InternalLogger 0.0.2-Beta1

This is a prerelease version of MoleculeSoftware.Packages.InternalLogger.
dotnet add package MoleculeSoftware.Packages.InternalLogger --version 0.0.2-Beta1
NuGet\Install-Package MoleculeSoftware.Packages.InternalLogger -Version 0.0.2-Beta1
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="MoleculeSoftware.Packages.InternalLogger" Version="0.0.2-Beta1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MoleculeSoftware.Packages.InternalLogger --version 0.0.2-Beta1
#r "nuget: MoleculeSoftware.Packages.InternalLogger, 0.0.2-Beta1"
#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 MoleculeSoftware.Packages.InternalLogger as a Cake Addin
#addin nuget:?package=MoleculeSoftware.Packages.InternalLogger&version=0.0.2-Beta1&prerelease

// Install MoleculeSoftware.Packages.InternalLogger as a Cake Tool
#tool nuget:?package=MoleculeSoftware.Packages.InternalLogger&version=0.0.2-Beta1&prerelease

MoleculeSoftware.Packages.InternalLogger

What is InternalLogger

Internal logger is a small library that extends any consuming application, enabling it to write a simple log to a dedicated logging database.

How to use - There are two options. Please choose one of the following

Reference

  1. Include by using the dotnet CLI
dotnet add package MoleculeSoftware.Package.InternalLogger
  1. Include by adding a reference to the CSPROJ file for your project
<PackageReference Include="MoleculeSoftware.Package.InternalLogger"/>

Add using reference

using MoleculeSoftware.Packages.InternalLogger;

Create a log

private async Task<bool> SampleMethod()
{
    // Create log using an object that complies with interface IInternalLog
    SampleLogClass log = new SampleLogClass("Test", "Test", LogTypes.Information, "Sample additional info"); 
    return await InternalLoggerService.SaveNewLogAsync(log); // Will return a boolean
    . . .
}

Update a log

private async Task<bool> SampleMethod(SampleLogClass log)
{
    // This method assumes you are working with a log that was declared elsewhere
    return await InternalLoggerService.UpdateLogAsync(log); // Will return a boolean
    . . .
}

Delete a log

private async Task<bool> SampleMethod(SampleLogClass log)
{
    // This method assumes you are working with a log that was declared elsewhere
    return await InternalLoggerService.DeleteLogAsync(log); // Will return a boolean
    . . .
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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
0.0.2-Beta1 110 12/30/2022
0.0.1-Alpha2 86 12/30/2022
0.0.1-Alpha1 91 12/30/2022

Alpha release - Note: This product is intended for internal use, and while available for anyone to use, may not function properly outside of Molecule Software Solutions environments.