Skip to content

richarddbarnett/Owin.Logging.Common

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Owin.Logging.Common

Common.Logging factory implementation for OWIN Logging

Using

Configure the underlying Commong.Logging Factory Adapter as usual.

Then to utilize Common.Logging in Owin, use extension methods:

using Owin.Logging.Common;

    public class Startup
    {
        public void ConfigureAuth(IAppBuilder app)
        {
            app.UseCommonLogging();
        }
    }

Overloaded methods are available to control the transform of TraceEventType to levels in Common.Logging.ILog

Default transform is:

TraceEventType Common Loglevel
Critical Fatal
Error Error
Warning Warn
Information Info
Verbose Trace
Start Debug
Stop Debug
Suspend Debug
Resume Debug
Transfer Debug

About

Common.Logging factory implementation for OWIN Logging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%