public void WriteToDebugLog( string message ) { if ( !string.IsNullOrWhiteSpace( this.DebugLogFilePath ) ) { try { File.AppendAllText( DebugLogFilePath, message + Environment.NewLine ); } catch { // } } }