Assert option and other fixes (#370)

* Add option to control assert logging

* Fix logging errors from calling InitMultithreading before InvokeBeforeRun
This commit is contained in:
Jimmacle
2020-03-20 09:44:54 -07:00
committed by GitHub
parent 33b2fa7094
commit 035325da22
5 changed files with 12 additions and 4 deletions

View File

@@ -120,6 +120,9 @@ namespace Torch.Server
[Arg("testplugin", "Path to a plugin to debug. For development use only.")]
public string TestPlugin { get; set; }
[Arg("asserts", "Enable Keen's assert logging.")]
public bool EnableAsserts { get; set; } = false;
[XmlIgnore]
private string _path;