Namespace: ITHit.WebDAV.Client.Logger
FileLogger.LogFile = "C:\WebDAV\WebDAVClientLog.txt"; // C:\WebDAV\ must exist and the application must have enough permission to write and create files in this folder FileLogger.Level = LogLevel.Warn; FileLogger.WriteMessage("My error message", LogLevel.Error); // this message will be written to the log file FileLogger.WriteMessage("My debug message", LogLevel.Debug); // this message will not be written to the log file FileLogger.WriteMessage("My info message"); // this message will not be written to the log file