Re: OTP-24 and lager and line numbers
Michael Truog <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <[email protected]> |
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