Closed oblaise closed 3 years ago
Thanks!
I think Code Generator should be run, before this PR will be merged. Have you already done this locally?
Yes I run the ZigBeeNet.Digi.XBee.CodeGenerator
that is the only changed code generator.
The change has an impact only on two files: XBeeEventFactory.cs
and XBeeResponseFactory.cs
. These files are updated in the PR.
For other files generated there is no change - except the version in the header - so for limiting the number of changed files in the PR I only included the changed files.
All these changes are in commit 708b386.
Great. Thanks for that information
This PR replaces
Serilog
byMicrosoft.Extension.Logging.Abstractions
in libraries as explained in issue #146.I slightly modified the
ZigBeeNet.PlayGround
sample to show the possibility to use different logging providers. In the current state on GitHub it usesSerilog
for console output as it is output is nicer thanMicrosoft.Extension.Logging.Console
. You can easily switch to the other one by modifying theUseSerilog
property in theZigBeeNet.PlayGround.csproj
file:Any provider compatible with the
Microsoft.Extensions.Logging
should now be compatible with the logging inZigBeeNet*
libraries.