logger_json icon indicating copy to clipboard operation
logger_json copied to clipboard

Correct Formatter TypeSpec

Open Morgahl opened this issue 1 year ago • 0 comments

Ref: LoggerJSON.Formatter.format_event/6 callback TypeSpec.

  1. The old state parameter was a map but when changes were made for the DataDog formatter from LoggerJSON.Formatter.format_event/5 to LoggerJSON.Formatter.format_event/6 the parameter did not get updated to reflect the correct typing.
  2. md is marked as a map when this is actually a Keyword.t

Morgahl avatar Nov 28 '23 21:11 Morgahl