C# Class withSIX.Core.Presentation.Bridge.Logging.SetupNlog

Mostrar archivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
CurrentDomainOnUnhandledException ( object sender, UnhandledExceptionEventArgs unhandledExceptionEventArgs ) : void
Initialize ( string appName ) : void

Private Methods

Method Description
CreateDefaultConfig ( string appName ) : LoggingConfiguration
CreateDefaultLoggingRule ( Target target, NLog.LogLevel level = null, bool final = false ) : LoggingRule
SetupLogEntries ( string appName, LoggingConfiguration config ) : void

Method Details

CurrentDomainOnUnhandledException() public static method

public static CurrentDomainOnUnhandledException ( object sender, UnhandledExceptionEventArgs unhandledExceptionEventArgs ) : void
sender object
unhandledExceptionEventArgs System.UnhandledExceptionEventArgs
return void

Initialize() public static method

public static Initialize ( string appName ) : void
appName string
return void