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.
md is marked as a map when this is actually a Keyword.t
Ref:
LoggerJSON.Formatter.format_event/6
callback TypeSpec.state
parameter was amap
but when changes were made for the DataDog formatter fromLoggerJSON.Formatter.format_event/5
toLoggerJSON.Formatter.format_event/6
the parameter did not get updated to reflect the correct typing.md
is marked as amap
when this is actually aKeyword.t