code cleanup; build x86 per default
This commit is contained in:
parent
0239ffbb27
commit
71021ee767
14 changed files with 110 additions and 91 deletions
|
@ -1,20 +1,17 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Threading;
|
||||
using MvvmCross.Logging;
|
||||
using MvvmCross.Platforms.Wpf.Core;
|
||||
using Serilog;
|
||||
using System.IO;
|
||||
|
||||
namespace GoldbergGUI.WPF
|
||||
{
|
||||
public class Setup : MvxWpfSetup<Core.App>
|
||||
{
|
||||
public override MvxLogProviderType GetDefaultLogProviderType() => MvxLogProviderType.Serilog;
|
||||
|
||||
|
||||
protected override IMvxLogProvider CreateLogProvider()
|
||||
{
|
||||
var logPath = Path.Combine(Directory.GetCurrentDirectory(),"goldberg_.log");
|
||||
var logPath = Path.Combine(Directory.GetCurrentDirectory(), "goldberg_.log");
|
||||
Log.Logger = new LoggerConfiguration()
|
||||
.MinimumLevel.Debug()
|
||||
.WriteTo.Console()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue