An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

Net Standard Logger



Logger implementation for Net Standard libraries

[![Build Status](https://dev.azure.com/kbrashears5/github/_apis/build/status/kbrashears5.net-standard-logger?branchName=master)](https://dev.azure.com/kbrashears5/github/_build/latest?definitionId=5&branchName=master)
[![Tests](https://img.shields.io/azure-devops/tests/kbrashears5/github/5)](https://img.shields.io/azure-devops/tests/kbrashears5/github/5)
[![Code Coverage](https://img.shields.io/azure-devops/coverage/kbrashears5/github/5)](https://img.shields.io/azure-devops/coverage/kbrashears5/github/5)

[![nuget](https://img.shields.io/nuget/v/NetStandardLogger.svg)](https://www.nuget.org/packages/NetStandardLogger/)
[![nuget](https://img.shields.io/nuget/dt/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