[{osmo_dia2gsup, [ {hlr_ip, "127.0.0.1"}, {hlr_port, 4222}, {diameter_ip, "127.0.0.4"}, {diameter_port, 3868}, {diameter_proto, sctp}, {origin_host, "hss.localdomain"}, {origin_realm, "localdomain"}, {vendor_id, 0} ]}, %% https://github.com/erlang-lager/lager?tab=readme-ov-file#custom-formatting {lager, [ {colored, true}, {handlers, [ {lager_console_backend, [ {level, info}, {formatter, lager_default_formatter}, {formatter_config, [ color, "[", severity ,"] ", pid, " ", message, "\e[0m\r\n" ]} ]} ]} ]} ].