Logging - Xenoage/RpcLib GitHub Wiki

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.