C# 클래스 PeoplePickerRemediation.Console.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

CreateLogFile ( string folderPath, string fileName ) : string
CurrentDateTime ( ) : string
Write_TraceLog_AND_ConsoleMessage ( string Message, bool IsDateTime, bool loggingOnConsole, ConsoleColor foregroundColor ) : void

메소드 상세

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

CreateLogFile() 공개 메소드

public CreateLogFile ( string folderPath, string fileName ) : string
folderPath string
fileName string
리턴 string

CurrentDateTime() 공개 정적인 메소드

public static CurrentDateTime ( ) : string
리턴 string

Write_TraceLog_AND_ConsoleMessage() 공개 정적인 메소드

public static Write_TraceLog_AND_ConsoleMessage ( string Message, bool IsDateTime, bool loggingOnConsole, ConsoleColor foregroundColor ) : void
Message string
IsDateTime bool
loggingOnConsole bool
foregroundColor ConsoleColor
리턴 void