C# Class Skytap.Utilities.LoggerUtilities

Container for some utilties used by the logging functionality. E.g. generate a log filename.
显示文件 Open project: skytap/Skytap-TFS-Automation-Pack

Public Methods

Method Description
CreateUniqueLogFilename ( string logFilePrefix = null ) : string

Generate a unique file for a log file that contains the date in the filename. The full path to the generated file is returned.

Method Details

CreateUniqueLogFilename() public static method

Generate a unique file for a log file that contains the date in the filename. The full path to the generated file is returned.
public static CreateUniqueLogFilename ( string logFilePrefix = null ) : string
logFilePrefix string A prefix to put on top of the log filename. If not provided, the /// prefix will be a standard "ApplicationLog" string.
return string