C# Class ArcStache.ComLogUtil

Summary description for LogUtil
Default location for log file is in the "Logs" folder located in the directory the calling DLL exists in.
Afficher le fichier Open project: dtsagile/arcstache Class Usage Examples

Méthodes publiques

Méthode Description
ComLogUtil ( ) : System

Initializes a new instance of the ComLogUtil class. Log file will be created in a "Logs" folder located alongside the running DLL.

LogDebug ( string className, string publicMethodName, string message ) : void

Logs the info.

LogError ( string className, string publicMethodName, string parameters, Exception ex ) : void

Logs the error.

LogError ( string className, string publicMethodName, string parameters, string message, Exception ex ) : void

Logs the error.

LogInfo ( string className, string publicMethodName, string message ) : void

Logs the info.

LogParameters ( string className, string publicMethodName, string parameters ) : void

Logs the parameters.

LogWarning ( string className, string publicMethodName, string message ) : void

Logs the warning.

Private Methods

Méthode Description
Log ( LogLevel level, string message ) : void

Logs the specified message by creating new log file or appending message.

Method Details

ComLogUtil() public méthode

Initializes a new instance of the ComLogUtil class. Log file will be created in a "Logs" folder located alongside the running DLL.
public ComLogUtil ( ) : System
Résultat System

LogDebug() public méthode

Logs the info.
public LogDebug ( string className, string publicMethodName, string message ) : void
className string Name of the source class.
publicMethodName string Name of the public method.
message string The message.
Résultat void

LogError() public méthode

Logs the error.
public LogError ( string className, string publicMethodName, string parameters, Exception ex ) : void
className string Name of the source class.
publicMethodName string Name of the public method.
parameters string The method parameters.
ex System.Exception The exception.
Résultat void

LogError() public méthode

Logs the error.
public LogError ( string className, string publicMethodName, string parameters, string message, Exception ex ) : void
className string Name of the source class.
publicMethodName string Name of the public method.
parameters string The method parameters.
message string
ex System.Exception The exception.
Résultat void

LogInfo() public méthode

Logs the info.
public LogInfo ( string className, string publicMethodName, string message ) : void
className string Name of the source class.
publicMethodName string Name of the public method.
message string The message.
Résultat void

LogParameters() public méthode

Logs the parameters.
public LogParameters ( string className, string publicMethodName, string parameters ) : void
className string Name of the class.
publicMethodName string Name of the public method.
parameters string The parameters.
Résultat void

LogWarning() public méthode

Logs the warning.
public LogWarning ( string className, string publicMethodName, string message ) : void
className string Name of the source class.
publicMethodName string Name of the public method.
message string The message.
Résultat void