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:
parent
564199592b
commit
b3c5c3caa0
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user