C# 클래스 Transformation.PowerShell.Common.Utilities.Logger

파일 보기 프로젝트 열기: OfficeDev/PnP-Transformation

공개 메소드들

메소드 설명
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