mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
inline initialization
This commit is contained in:
parent
e8abd7c23f
commit
a75a5c4660
1 changed files with 5 additions and 3 deletions
|
|
@ -26,9 +26,11 @@ namespace Flow.Launcher.Infrastructure.Logger
|
|||
}
|
||||
|
||||
var configuration = new LoggingConfiguration();
|
||||
var fileTarget = new FileTarget();
|
||||
fileTarget.FileName = CurrentLogDirectory.Replace(@"\", "/") + "/${shortdate}.txt";
|
||||
|
||||
var fileTarget = new FileTarget
|
||||
{
|
||||
FileName = CurrentLogDirectory.Replace(@"\", "/") + "/${shortdate}.txt"
|
||||
};
|
||||
|
||||
var fileTargetASyncWrapper = new AsyncTargetWrapper(fileTarget);
|
||||
configuration.AddTarget("file", fileTargetASyncWrapper);
|
||||
#if DEBUG
|
||||
|
|
|
|||
Loading…
Reference in a new issue