Dubacik22.Logger
1.0.1
See the version list below for details.
dotnet add package Dubacik22.Logger --version 1.0.1
NuGet\Install-Package Dubacik22.Logger -Version 1.0.1
<PackageReference Include="Dubacik22.Logger" Version="1.0.1" />
paket add Dubacik22.Logger --version 1.0.1
#r "nuget: Dubacik22.Logger, 1.0.1"
// Install Dubacik22.Logger as a Cake Addin #addin nuget:?package=Dubacik22.Logger&version=1.0.1 // Install Dubacik22.Logger as a Cake Tool #tool nuget:?package=Dubacik22.Logger&version=1.0.1
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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net5.0
- No dependencies.
NuGet packages (3)
Showing the top 3 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 |
|
EK
Library that takes care of the continuity when calling methods that depend on the properties that changes in runtime |
GitHub repositories
This package is not used by any popular GitHub repositories.