Convert logging to be event-based

This commit is contained in:
Matt Nadareski
2020-10-07 13:16:53 -07:00
parent 4d78f8a0c1
commit 4325c0b7ce
6 changed files with 168 additions and 100 deletions

View File

@@ -26,7 +26,12 @@ namespace RombaSharp
public static void Main(string[] args)
{
// Perform initial setup and verification
Globals.Logger = new Logger("romba.log");
Globals.Logger = new Logger("romba.log")
{
AppendPrefix = true,
LowestLogLevel = LogLevel.VERBOSE,
ThrowOnError = false,
};
// Create a new Help object for this program
_help = RetrieveHelp();