mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-20 21:02:55 +00:00
Added name to clients, added common interfaces
This commit is contained in:
@@ -208,7 +208,7 @@ namespace CryptoExchange.Net.OrderBook
|
||||
asks = new SortedList<decimal, ISymbolOrderBookEntry>();
|
||||
bids = new SortedList<decimal, ISymbolOrderBookEntry>(new DescComparer<decimal>());
|
||||
|
||||
log = new Log { Level = options.LogVerbosity };
|
||||
log = new Log(options.OrderBookName) { Level = options.LogVerbosity };
|
||||
var writers = options.LogWriters ?? new List<TextWriter> { new DebugTextWriter() };
|
||||
log.UpdateWriters(writers.ToList());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user