https://github.com/kbrashears5/net-standard-logger
Net Standard Logger
https://github.com/kbrashears5/net-standard-logger
console eventlog eventviewer file ilogger logger mock
Last synced: over 1 year ago
JSON representation
Net Standard Logger
- Host: GitHub
- URL: https://github.com/kbrashears5/net-standard-logger
- Owner: kbrashears5
- License: mit
- Created: 2020-04-19T20:35:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-01T11:20:59.000Z (over 2 years ago)
- Last Synced: 2025-02-04T14:24:01.478Z (over 1 year ago)
- Topics: console, eventlog, eventviewer, file, ilogger, logger, mock
- Language: C#
- Homepage: https://github.com/kbrashears5/net-standard-logger
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Net Standard Logger
Logger implementation for Net Standard libraries
[](https://dev.azure.com/kbrashears5/github/_build/latest?definitionId=5&branchName=master)
[](https://img.shields.io/azure-devops/tests/kbrashears5/github/5)
[](https://img.shields.io/azure-devops/coverage/kbrashears5/github/5)
[](https://www.nuget.org/packages/NetStandardLogger/)
[](https://img.shields.io/nuget/dt/NetStandardLogger)
## Loggers
---
### Console Logger
Use the `ConsoleLogger` to log to the console
### Event Viewer Logger
Use the `EventViewerLogger` to log to the Windows Event Viewer
### File Logger
Use the `FileLogger` to log to a file
## Log Levels
---
### LogLevel.Debug
Most verbose logging
```
Includes all Trace, Information, Warning, Error logs
```
### LogLevel.Trace
Mildly verbose logging
```
Includes all Information, Warning, Error logs
```
### LogLevel.Information
Information logging
```
Includes all Warning, Error logs
```
### LogLevel.Warning
Warning logs
```
Includes all Error logs
```
### LogLevel.Error
Errors only