-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed as duplicate of#120689
Closed as duplicate of#120689
Copy link
Labels
api-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-Extensions-Logging
Milestone
Description
Background and motivation
The 'SimpleConsoleLogger' is not very simple, including EventID in each log message:
info: Program[0] Hello World
The desired result is:
info: Program Hello World
This is currently not configurable, see:
I would like to propose the following property be added to SimpleConsoleFormatterOptions
public bool IncludeEventID { get; set; } = true
By defaulting to true, there is no behaviour change to the current implementation.
Setting it to false would remove the event id from being included.
Metadata
Metadata
Assignees
Labels
api-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-Extensions-Logging