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

Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Méthode Description
CurrentDomainOnUnhandledException ( object sender, UnhandledExceptionEventArgs unhandledExceptionEventArgs ) : void
Initialize ( string appName ) : void

Private Methods

Méthode 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 méthode

public static CurrentDomainOnUnhandledException ( object sender, UnhandledExceptionEventArgs unhandledExceptionEventArgs ) : void
sender object
unhandledExceptionEventArgs System.UnhandledExceptionEventArgs
Résultat void

Initialize() public static méthode

public static Initialize ( string appName ) : void
appName string
Résultat void