1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-15 02:13:01 +00:00

Fixed incorrect exchange name in static logger when using multiple libraries

This commit is contained in:
Jkorf
2025-11-10 09:14:14 +01:00
parent 7d657dd533
commit 8043a48c49
3 changed files with 5 additions and 4 deletions
@@ -41,7 +41,7 @@ namespace CryptoExchange.Net.Clients
{
_logger = loggerFactory?.CreateLogger(name + ".SocketClient") ?? NullLoggerFactory.Instance.CreateLogger(name);
LibraryHelpers.StaticLogger = loggerFactory?.CreateLogger(name);
LibraryHelpers.StaticLogger = loggerFactory?.CreateLogger("CryptoExchange");
}
/// <summary>