ferdikurnazdm.Blocks.Logger
1.0.3
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package ferdikurnazdm.Blocks.Logger --version 1.0.3
NuGet\Install-Package ferdikurnazdm.Blocks.Logger -Version 1.0.3
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="ferdikurnazdm.Blocks.Logger" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ferdikurnazdm.Blocks.Logger" Version="1.0.3" />
<PackageReference Include="ferdikurnazdm.Blocks.Logger" />
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 ferdikurnazdm.Blocks.Logger --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ferdikurnazdm.Blocks.Logger, 1.0.3"
#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 ferdikurnazdm.Blocks.Logger@1.0.3
#: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=ferdikurnazdm.Blocks.Logger&version=1.0.3
#tool nuget:?package=ferdikurnazdm.Blocks.Logger&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Logger
/$$
| $$
| $$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$
| $$ /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$
| $$ | $$ \ $$| $$ \ $$| $$ \ $$| $$$$$$$$| $$ \__/
| $$ | $$ | $$| $$ | $$| $$ | $$| $$_____/| $$
| $$$$$$$$| $$$$$$/| $$$$$$$| $$$$$$$| $$$$$$$| $$
|________/ \______/ \____ $$ \____ $$ \_______/|__/
/$$ \ $$ /$$ \ $$
| $$$$$$/| $$$$$$/
\______/ \______/
This block manage logging
Description
This block ensure logging
Getting Started
Dependencies
- .NET 4.7.2 Framework
- .NET Dependency Injection >=9.0.0
Installing
- Install Library with Package Manager script or on Nuget GUI.
Executing program
Usage
LoggerApi loggerApi = new LoggerApi.Builder()
.UseTextLogger(config => {
config.Location = Path.Combine(AppDomain.CurrentDomain.BaseDirectory);
config.LogClearPeriod = LogClearPeriod.Weekly;
})
.Build();
Exception exception;
loggerApi.TryLog("test log", LogType.INFO, out exception);
Authors
Ferdi Kurnaz Contact
Version History
- 0.1
- Initial Release
- 0.2
- Auto clear feature
- 0.3
- Read Config File
License
This project is licensed under the [MIT] License
Notes:
if you are using event logger service then you need
the admin level.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- Microsoft.Extensions.DependencyInjection (>= 9.0.0)
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 |
|---|
Added read LogClearPeriod from config file