C# Class Transformation.PowerShell.Common.Utilities.Logger

Afficher le fichier Open project: OfficeDev/PnP-Transformation

Méthodes publiques

Méthode 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

CurrentDateTime ( ) : string

Method Details

AddMessageToTraceLogFile() public static méthode

public static AddMessageToTraceLogFile ( bool logging, string traceLogMessage = "N/A" ) : void
logging bool
traceLogMessage string
Résultat void

CreateLogFile() public méthode

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
Résultat string

CurrentDateTime() public static méthode

public static CurrentDateTime ( ) : string
Résultat string