C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Log ( LogLevel level, string message ) : void

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

Описание методов

ComLogUtil() публичный Метод

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
Результат System

LogDebug() публичный Метод

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.
Результат void

LogError() публичный Метод

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.
Результат void

LogError() публичный Метод

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.
Результат void

LogInfo() публичный Метод

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.
Результат void

LogParameters() публичный Метод

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.
Результат void

LogWarning() публичный Метод

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.
Результат void