diff --git a/CryptoExchange.Net/CryptoExchange.Net.csproj b/CryptoExchange.Net/CryptoExchange.Net.csproj index 684a980..cb9033a 100644 --- a/CryptoExchange.Net/CryptoExchange.Net.csproj +++ b/CryptoExchange.Net/CryptoExchange.Net.csproj @@ -6,16 +6,16 @@ CryptoExchange.Net JKorf A base package for implementing cryptocurrency exchange API's - 5.0.0-beta1 + 5.0.0-beta2 5.0.0 - 5.0.0-beta1 + 5.0.0-beta2 false git https://github.com/JKorf/CryptoExchange.Net.git https://github.com/JKorf/CryptoExchange.Net en true - 5.0.0-beta1 - Added additional properties to WebCallResult, Added CallResult unit tests, Updated some logging for client options + 5.0.0-beta2 - Replaced Debug.WriteLine with Trace.WriteLine enable 9.0 MIT diff --git a/CryptoExchange.Net/Logging/ConsoleLogger.cs b/CryptoExchange.Net/Logging/ConsoleLogger.cs index 54d67a4..873a1e9 100644 --- a/CryptoExchange.Net/Logging/ConsoleLogger.cs +++ b/CryptoExchange.Net/Logging/ConsoleLogger.cs @@ -15,7 +15,7 @@ namespace CryptoExchange.Net.Logging public bool IsEnabled(LogLevel logLevel) => true; /// - public void Log(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func formatter) + public void Log(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func formatter) { var logMessage = $"{DateTime.Now:yyyy/MM/dd HH:mm:ss:fff} | {logLevel} | {formatter(state, exception)}"; Console.WriteLine(logMessage); diff --git a/CryptoExchange.Net/Logging/DebugLogger.cs b/CryptoExchange.Net/Logging/DebugLogger.cs index 9b042de..685ff05 100644 --- a/CryptoExchange.Net/Logging/DebugLogger.cs +++ b/CryptoExchange.Net/Logging/DebugLogger.cs @@ -16,7 +16,7 @@ namespace CryptoExchange.Net.Logging public bool IsEnabled(LogLevel logLevel) => true; /// - public void Log(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func formatter) + public void Log(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func formatter) { var logMessage = $"{DateTime.Now:yyyy/MM/dd HH:mm:ss:fff} | {logLevel} | {formatter(state, exception)}"; Trace.WriteLine(logMessage); diff --git a/README.md b/README.md index daf616b..66c1901 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,9 @@ I develop and maintain this package on my own for free in my spare time. Donatio Alternatively, sponsor me on Github using [Github Sponsors](https://github.com/sponsors/JKorf) ## Release notes +* Version 5.0.0-beta2 - 21 Jan 2022 + * Replaced Debug.WriteLine with Trace.WriteLine + * Version 5.0.0-beta1 - 15 Jan 2022 * Added additional properties to WebCallResult * Added CallResult unit tests