FortressLogger 0.2.0

dotnet add package FortressLogger --version 0.2.0
                    
NuGet\Install-Package FortressLogger -Version 0.2.0
                    
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="FortressLogger" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FortressLogger" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="FortressLogger" />
                    
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 FortressLogger --version 0.2.0
                    
#r "nuget: FortressLogger, 0.2.0"
                    
#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 FortressLogger@0.2.0
                    
#: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=FortressLogger&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=FortressLogger&version=0.2.0
                    
Install as a Cake Tool

Welcome to Fortress Logger

Fortress Logger was created because I was not a fan of the default ILogger system that is the typical option for C# projects. So I opted to build and create my own logger library that did what I wanted and how I wanted. After using this in my own projects, I decided to expand on it and make it more useful, and I figured that I would share it with the world and see if anyone else had a use for it!

Features

  • Five logging levels - Debug, Alert, Error and Info and NEW! Database
  • Logs can be saved to any file location
  • Logs are split ⇒ there is a seperate file for each logging level, plus a Full Log file that contains a log of everything
    • This makes it easier to quickly look at just error messages or debug message while also maintaining a way to keep the log of everything in order

Link To Github Repo: Fortress Logger GitHub Repo

Bug Reporting

If you encounter any bugs, errors or issues, please open an Issue on the GitHub page, and I will work on fixing at asap!

Release Notes

V 0.2.0 December 26th, 2022

  • Allow messages to be saved to a SQL Database table
  • When the logger is initialized, the constructor will ensure that the proper database table has been created
  • Using the FortressSqlLogger can be configured to write to both the database and the log text files, just like in V 0.1.0
  • Added a Database level of logging to the original four
  • Currently when using the FortressSqlLogger type, all message will be written to a database, and only writtern to a file if configured to do so. At this time, you CANNOT use FotressSqlLogger to write messages to a text file and NOT the database. If you wish to write to a text file and not a database, initialize a new instance of Fortress Logger using the same filepath. If enough people ask for this to be an option using FortressSqlLogger, I will look into changing it.

V 0.1.0 December 19th, 2022

  • Initial build release of Fortress Logger
  • Allows for logging of 3 different logging levels
  • Assign directory for files to be created
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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.2.0 446 12/27/2022
0.1.0 394 12/20/2022