sgryphon / essential-diagnostics

Essential.Diagnostics contains additional trace listeners, filters and utility classes for the .NET Framework System.Diagnostics trace logging. Included are colored console, SQL database, rolling file, Seq logging server, and in-memory trace listeners, expression filters, activity and logical operation scopes, and configuration file monitoring.
Microsoft Reciprocal License
69 stars 25 forks source link

Add modules for various DI frameworks #16

Open sgryphon opened 7 years ago

sgryphon commented 7 years ago

Pre-configured modules for various DI frameworks (autofac, ninject, windsor, etc).

Also consider modules that conform to Common Logging, etc.

Stand alone where possible, so a TraceSource factory may be better (i.e. no need for dependency on Essential.Diagnostics). I know that System.Diagnostics may often be part of the base release, but the branding/visibility is also important:

e.g. Common.Logging.SystemDiagnostics

Could have a dependency on System.Diagnostics.Configuration, and also make sure the configured TraceSource is sensible (e.g. based on Assembly or something).

Still point to Essential.Diagnostics (or System.Diagnostics.Configuration) for additional stuff.

Also