We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Log... functions are now in 3 flavors
Log....(this ILogger logger, EventId eventId, Exception exception, string message, params object[] args);
Log....(this ILogger logger, EventId eventId, string message, params object[] args);
Log....(this ILogger logger, string message, params object[] args);
ILogValues was removed and we are using IReadOnlyList<KeyValuePair<string, object>> instead
ILogValues
IReadOnlyList<KeyValuePair<string, object>>
void Log(LogLevel logLevel, int eventId, object state, Exception exception, Func<object, Exception, string> formatter) is now void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
void Log(LogLevel logLevel, int eventId, object state, Exception exception, Func<object, Exception, string> formatter)
void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
The default MessageFormatter now only displays the string value of the state passed in
MessageFormatter
See the original issue aspnet/Logging#331
For discussion use aspnet/Logging#350
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The Log... functions are now in 3 flavors
Log....(this ILogger logger, EventId eventId, Exception exception, string message, params object[] args);
Log....(this ILogger logger, EventId eventId, string message, params object[] args);
Log....(this ILogger logger, string message, params object[] args);
ILogValues
was removed and we are usingIReadOnlyList<KeyValuePair<string, object>>
insteadvoid Log(LogLevel logLevel, int eventId, object state, Exception exception, Func<object, Exception, string> formatter)
is nowvoid Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
The default
MessageFormatter
now only displays the string value of the state passed inSee the original issue aspnet/Logging#331
For discussion use aspnet/Logging#350
The text was updated successfully, but these errors were encountered: