Method | Description | |
---|---|---|
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 |
public static AddMessageToTraceLogFile ( bool logging, string traceLogMessage = "N/A" ) : void | ||
logging | bool | |
traceLogMessage | string | |
return | void |
public CreateLogFile ( string folderPath ) : string | ||
folderPath | string | |
return | string |
public CreateLogFile ( string folderPath, string fileName ) : string | ||
folderPath | string | |
fileName | string | |
return | string |
public static Write_TraceLog_AND_ConsoleMessage ( string Message, bool IsDateTime, bool loggingOnConsole, ConsoleColor foregroundColor ) : void | ||
Message | string | |
IsDateTime | bool | |
loggingOnConsole | bool | |
foregroundColor | ConsoleColor | |
return | void |