Why does Logger.Translator ignore gen_statem reports?

There is code in Logger.Translator to turn termination reports from gen_server and gen_event into formatted messages with crash_report metadata.

Since gen_statem is also part of the BEAM stdlib, should its messages be transformed similarly? They don’t have quite the same format as the ones from gen_server.

The GenStateMachine library includes a translator, but it has not been updated to match the new behavior of Logger.Translator.

Yes, please consider updating the GenStateMachine library. For Elixir we will focus on the behaviours that are part of/used by Elixir.