Skip to content

thomassvensen/EnumeratedLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EnumeratedLogger

Add-on on top of Log4Net that structures logging via enums. For an introduction, read my blog at open.bekk.no/better-logging-using-enumeration. Available via Nuget.

Release notes

1.1.2

  • No longer removing GlobalContext.Properties because it can be very useful to know the host name where the log originated

1.1.1

  • This fixes the duplicated logging of the enum name, logging the enum integer id was the desired behaviour. (Thanks you @estien !)

1.1.0

  • Added ability to specify log class via type parameter (...Log<T>(msg)).
  • Added [LogToConsole] attribute to easily get log output when running tests.
  • Fixed issue with wrong order of ':' and enum name in output.
  • Added a test case to (manually...) verify correct output.

1.0.2

  • Improved build process

1.0.1

  • First proper version on NuGet

About

An add-on on top of Log4Net that structures logging via enums.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages