C# Класс Transformation.PowerShell.Common.Utilities.Logger

Показать файл Открыть проект

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

Метод Описание
AddMessageToTraceLogFile ( bool logging, string traceLogMessage = "N/A" ) : void
CreateLogFile ( string folderPath ) : string

This method is used to create Log File. It reterives the default path from Constants file and suffice with current date. The TraceLog output file will be in TEXT format

CurrentDateTime ( ) : string

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

AddMessageToTraceLogFile() публичный статический Метод

public static AddMessageToTraceLogFile ( bool logging, string traceLogMessage = "N/A" ) : void
logging bool
traceLogMessage string
Результат void

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

This method is used to create Log File. It reterives the default path from Constants file and suffice with current date. The TraceLog output file will be in TEXT format
public CreateLogFile ( string folderPath ) : string
folderPath string
Результат string

CurrentDateTime() публичный статический Метод

public static CurrentDateTime ( ) : string
Результат string