OTP-24 and lager and line numbers

Michael Truog mjtruog@REDACTED
Thu Jun 10 22:07:59 CEST 2021


On 6/10/21 12:14 PM, Roger Lipscombe wrote:
> I'm migrating a large project to OTP-24.x, and it seems that my line
> numbers are tuples by the time they appear in my logs.
>
> How best to work around this? We're not in a position to rip out lager
> just yet. Using lager 3.9.2.
I have a lager interface to the CloudI logger which can provide an 
example of supporting lager's interface without using lager:
https://github.com/CloudI/CloudI/blob/develop/src/lib/cloudi_core/src/cloudi_logger_lager.erl

Example use in:
https://github.com/CloudI/CloudI/blob/develop/src/lib/cloudi_core/test_ct/cloudi_logger_SUITE.erl

Best Regards,
Michael


More information about the erlang-questions mailing list