C# Class SebWindowsClient.DiagnosticsUtils.Logger

Manage logging of events.
Afficher le fichier Open project: SafeExamBrowser/seb-win

Private Properties

Свойство Type Description
Log void

Méthodes publiques

Méthode Description
AddError ( string message, object eventSource, Exception exception, string details = null ) : void
AddInformation ( string message, object eventSource = null, Exception exception = null, string details = null ) : void
AddWarning ( string message, object eventSource, Exception exception = null, string details = null ) : void
InitLogger ( string logFileDirectory = null, string logFilePath = null ) : void

Private Methods

Méthode Description
Log ( Severity severity, string message, object eventSource, Exception exception, string details = null ) : void

Method Details

AddError() public static méthode

public static AddError ( string message, object eventSource, Exception exception, string details = null ) : void
message string
eventSource object
exception System.Exception
details string
Résultat void

AddInformation() public static méthode

public static AddInformation ( string message, object eventSource = null, Exception exception = null, string details = null ) : void
message string
eventSource object
exception System.Exception
details string
Résultat void

AddWarning() public static méthode

public static AddWarning ( string message, object eventSource, Exception exception = null, string details = null ) : void
message string
eventSource object
exception System.Exception
details string
Résultat void

InitLogger() public static méthode

public static InitLogger ( string logFileDirectory = null, string logFilePath = null ) : void
logFileDirectory string
logFilePath string
Résultat void