1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-30 23:34:08 +02:00

Disable logging for release builds

This commit is contained in:
chylex 2016-04-11 21:04:31 +02:00
parent 564199592b
commit b3c5c3caa0

View File

@ -51,7 +51,10 @@ private static void Main(){
AcceptLanguageList = HeaderAcceptLanguage, AcceptLanguageList = HeaderAcceptLanguage,
UserAgent = "TweetDick "+Application.ProductVersion, UserAgent = "TweetDick "+Application.ProductVersion,
Locale = CultureInfo.CurrentCulture.TwoLetterISOLanguageName, Locale = CultureInfo.CurrentCulture.TwoLetterISOLanguageName,
CachePath = StoragePath CachePath = StoragePath,
#if !DEBUG
LogSeverity = LogSeverity.Disable
#endif
}); });
Application.Run(new FormBrowser()); Application.Run(new FormBrowser());