Dubacik22.Logger 1.0.0

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

// Install Dubacik22.Logger as a Cake Tool
#tool nuget:?package=Dubacik22.Logger&version=1.0.0

library for creating and writing log messages

The Logger class is static for simplicity. The logger distinguishes between multiple layers of logs: Trace Debug Info Result Fatal

It is possible to create any number of target files for any layer. Logger writes messages to files according to:

file: Trace Debug Info Result Fatal message: Trace + Debug + + Info + + + Result + + + + Fatal + + + + +

at the beginning it is necessary to initialize some files (it is possible to initialize any number of any files): Logger.CreateTraceFile(string path, string name); Logger.CreateDebugFile(string path, string name); Logger.CreateInfoFile(string path, string name); Logger.CreateResultFile(string path, string name); Logger.CreateFatalFile(string path, string name);

in case we want to automatically add to the end of logging messages \ n: Logger.AddCrLf (true);

in case we want the logger to add a timestamp to the beginning of the log: Logger.ShowTime (true);

log entry itself: Logger.Trace ("trace message"); ... Logger.Fatal ("error message");

the log looks like this:

5/5/2016 14: 42: 15.481016 T: trace message 5/5/2016 14: 42: 16.001765 FATAL: error message

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Dubacik22.Logger:

Package Downloads
Dubacik22.EnginKalkulatorowy

Library that takes care of the continuity when calling methods that depend on the properties that changes in runtime

Dubacik22.Fielder

Library that contains classes that can be easily serialisable

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 273 7/4/2023
1.0.2 316 6/19/2023
1.0.1 1,959 2/4/2022
1.0.0 563 9/30/2021

1.0.0