diff --git a/OSM_Regions/Program.cs b/OSM_Regions/Program.cs index 8db168e..c856203 100644 --- a/OSM_Regions/Program.cs +++ b/OSM_Regions/Program.cs @@ -4,13 +4,13 @@ using GlaxLogger; using Microsoft.Extensions.Logging; using OSM_Regions; -Logger logger = new(LogLevel.Trace, consoleOut: Console.Out); +Logger logger = new(LogLevel.Debug, consoleOut: Console.Out); Argument regionSizeArgument = new (["-r", "--regionSize"], 1, "Size of Regions (f.e. 0.001)"); Argument convertArgument = new (["-c", "--convert"], 1, "Converts a OSM-XML-Export to Region-files."); Argument exportPathArgument = new (["-e", "--exportPath"], 1, "Export Directory Path."); -ArgumentFetcher af = new ([regionSizeArgument, convertArgument]); +ArgumentFetcher af = new ([regionSizeArgument, convertArgument, exportPathArgument]); Dictionary arguments = af.Fetch(args); if(!arguments.TryGetValue(regionSizeArgument, out string[]? regionSizeVars) || !arguments.TryGetValue(convertArgument, out string[]? osmFilePathVars))