Public Overloads Shared Sub LogToFile( _ ByVal Path As String, _ ByVal Level As LogLevel, _ ByVal RestartInterval As Integer _ )
Parameters
- Path
Path as string :
The location of the log files.
If an empty string being passed, XdsObjects will use the user's documents directory as the default location.
But still it is the caller's responsibility to ensure either that the path is valid and correct.
- Level
LogLevel as Integer:
This value controls the level of details logged to the file.
- RestartInterval
- The time interval in Minutes when a new log file should be generated.