C# Class Logging.DLogger

Afficher le fichier Open project: vhnatyk/WebMarco.2.0

Méthodes publiques

Свойство Type Description
CurrentLoggingLevel LoggingLevel
isLoggingToFileEnabled bool?

Méthodes publiques

Méthode Description
Initialize ( string rootLoggingFolder = null, bool isEncryptionOfLogEnabled = false ) : void
WriteLog ( Exception exception ) : void
WriteLog ( string messageFormat ) : void
WriteLog ( string messageFormat, LoggingLevel loggingLevel = LoggingLevel.Default ) : void

Private Methods

Méthode Description
GetExceptionDescription ( Exception exception ) : string
LogToFile ( string message ) : void
WriteConsole ( string message ) : void

Method Details

Initialize() public static méthode

public static Initialize ( string rootLoggingFolder = null, bool isEncryptionOfLogEnabled = false ) : void
rootLoggingFolder string
isEncryptionOfLogEnabled bool
Résultat void

WriteLog() public static méthode

public static WriteLog ( Exception exception ) : void
exception System.Exception
Résultat void

WriteLog() public static méthode

public static WriteLog ( string messageFormat ) : void
messageFormat string
Résultat void

WriteLog() public static méthode

public static WriteLog ( string messageFormat, LoggingLevel loggingLevel = LoggingLevel.Default ) : void
messageFormat string
loggingLevel LoggingLevel
Résultat void

Property Details

CurrentLoggingLevel public_oe static_oe property

public static LoggingLevel CurrentLoggingLevel
Résultat LoggingLevel

isLoggingToFileEnabled public_oe static_oe property

public static bool? isLoggingToFileEnabled
Résultat bool?