Release v8.0.0-beta.9
Pre-release
Pre-release
π Removed
- #196 [BREAKING CHANGE] Overloaded method
IBatchFormatter.Format(IEnumerable<LogEvent>, ITextFormatter, TextWriter)
has been removed in favour of keepingIBatchFormatter.Format(IEnumerable<string>, TextWriter output)
Migration guide
You'll have to migrate your code if you've implemented your own version of IBatchFormatter
.
// Before migration
public class MyBatchFormatter : IBatchFormatter
{
public void Format(IEnumerable<LogEvent> logEvents, ITextFormatter formatter, TextWriter output)
{
// Your implementation accepting a sequence of log events
}
public void Format(IEnumerable<string> logEvents, TextWriter output)
{
// Your implementation accepting a sequence of serialized log events
}
}
// After migration
public class MyBatchFormatter : IBatchFormatter
{
public void Format(IEnumerable<string> logEvents, TextWriter output)
{
// Your implementation accepting a sequence of serialized log events
}
}