PR (LoggingUpdates) ryant/master/logging-updates into master
Logging Updates
- Reworked
ConfigurationHelperto support loading aMicrosoft.Extensions.Configuration.IConfigurationinstance from theappsettings.jsonfile and to support constructing anILoggerFactorybased on the configuration values. - Replaced use of static
FileLoggingHelperwith use ofMicrosoft.Extensions.Logging.ILoggerinstances for fine grained logging support. - Updated the
SubmoduleAssemblyLoadContextto ensure the dependencies ofMQ2DotNetCore.dllare also loaded and resolved using the already loaded assembly instances.
Misc Fixes
- Updated the
DeployFilespost build tasks to fix problems that could occurred when the path macros contain spaces. Trailing slashes are now removed so they aren't treated as escaping the quotes and all three path arguments for the node command are fully resolved and quoted. - Added a
CreateLocalEnvironmentPropspre build task that will automatically create alocal.env.propsfile if one does not already exist. - Added additional code analyzers.