Skip to content

Empty http requests being sent when restrictedToMinimumLevel is set #17

Open
@lawsonmcw

Description

@lawsonmcw

When restricting messages to a level of Information and a Debug message is written, empty payloads will be generated. I think the OnEmptyBatchAsync() method needs to simply return rather than calling EmitBatchAsync().

public Task OnEmptyBatchAsync() { return Task.CompletedTask; }

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions