diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-02-28 11:42:21 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-02-28 11:42:21 +0200 |
| commit | c726e1f7697d9f0fe8cff387dc64dd00c4980b82 (patch) | |
| tree | 52d91153ee05a32a8ffcd42c4a9220cb7a517bca /Software/Visual_Studio/Utilities/Tango.MachineEM.UI/ViewModels/MainViewVM.cs | |
| parent | 2f70caaf340063f90529c3302f2f2a78dda9d40c (diff) | |
| download | Tango-c726e1f7697d9f0fe8cff387dc64dd00c4980b82.tar.gz Tango-c726e1f7697d9f0fe8cff387dc64dd00c4980b82.zip | |
Change LogManager to Instance.
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.MachineEM.UI/ViewModels/MainViewVM.cs')
| -rw-r--r-- | Software/Visual_Studio/Utilities/Tango.MachineEM.UI/ViewModels/MainViewVM.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/ViewModels/MainViewVM.cs b/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/ViewModels/MainViewVM.cs index 99be80b29..1c5c7e2e9 100644 --- a/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/ViewModels/MainViewVM.cs @@ -19,6 +19,7 @@ namespace Tango.MachineEM.UI.ViewModels { private TcpServer TcpServer; private bool _running; + private LogManager logManager = LogManager.Default; #region Properties @@ -151,9 +152,9 @@ namespace Tango.MachineEM.UI.ViewModels Log += log.ToString() + Environment.NewLine; }; - LogManager.RegisterLogger(logger); + logManager.RegisterLogger(logger); - LogManager.Log("Embedded Emulator Started..."); + logManager.Log("Embedded Emulator Started..."); Emulator = new MachineEmulator(new BasicTransporter()); |
