Cysharp / MagicOnion

Unified Realtime/API framework for .NET platform and Unity.
MIT License
3.8k stars 424 forks source link

Switch to ILogger-based logging #683

Closed mayuki closed 1 year ago

mayuki commented 1 year ago

This PR switches from IMagicOnionLogger to ILogger-based logging. MagicOnion.Server uses ASP.NET Core loggers by default, errors occurring during StreamingHub process will now also be logged.

Breaking changes

IMagicOnionLogger interface removed

The method signature of RedisGroupRepositoryFactory.CreateRepository has changed due to the removal of an interface. As a result, there is now no compatibility with MagicOnion.Server.Redis prior to this change.