internal static void Close() { _writer.Close(); }
static void Main(string[] args) { try { Logger.Open("KW1281Test.log"); var tester = new Program(); tester.Run(args); } catch (Exception ex) { Logger.WriteLine($"Unhandled exception: {ex}"); } finally { Logger.Close(); } }