Add logging and tracing
Opened this issue · 0 comments
yallie commented
Remote calls and events are hard to debug.
JsonServices server needs basic support for logging internals:
- authentication
- remote method calls
- subscriptions
- unsubscriptions
- event invocations
- user sessions
There should be support for positional arguments like Console.WriteLine
Log("This is a message to {0}: {1}", userName, message);
and named arguments for structured logging frameworks like Serilog:
Log("This is a message to {userName}: {message}", userName, message)