-
Notifications
You must be signed in to change notification settings - Fork 2
Logging
Andreas Wenger edited this page Sep 3, 2020
·
3 revisions
By default, this library does not produce any logging output. But a logger can be injected, which receives quite detailled logging about what is going on in both the client and server engine.
When initializing the client or server, provide a ILogger
implementation in the Logger
property of the RpcSettings
. The logger interface is intentionally kept very simple, so that it is easy to adapt it to any logging framework used in the main project.
For testing, also a simple ConsoleLogger
can be used, which just prints the log messages to the console.