This adds logging verbosity support to APRS#. A new command line argument accepts the ability to change the level of logged events, which allows users to change how much logging they see.
This also sets the default level to exclude packet decode failures, which cleans up output here and allows cleaning up logging when using the nuget package.
Resolves #118.
Changes
Switch AprsIsConnection logging from Console.Error to ILogger and relevant methods
Pass in an ILogger to use for logging events
Add a command line parameter to set the level of logging
Validation
Validated by running locally with various verbosity levels set and observing the output
Description
This adds logging verbosity support to APRS#. A new command line argument accepts the ability to change the level of logged events, which allows users to change how much logging they see.
This also sets the default level to exclude packet decode failures, which cleans up output here and allows cleaning up logging when using the nuget package.
Resolves #118.
Changes
Console.Error
toILogger
and relevant methodsILogger
to use for logging eventsValidation