Skip to content

Changes

Summary

  1. logging: use ?LOG macros instead of calling logger:level() (details)
Commit 109f898e2b0d871c254ea59dc79bc84bc7adc29b by Vadim Yanitskiy
logging: use ?LOG macros instead of calling logger:level()

The difference between using these macros and the exported functions
is that macros add location (originator) information to the metadata,
and perform lazy evaluation by wrapping the logger call in a case
statement, so it is only evaluated if the log level of the event
passes the primary log level check.

https://www.erlang.org/doc/apps/kernel/logger_chapter.html#logger-api

Change-Id: I3b6e4296f736f9c87d2706ef5fb75146fd9f1239
The file was modified src/s1ap_proxy.erl
The file was modified src/sctp_client.erl
The file was modified src/sctp_server.erl
The file was modified src/sctp_proxy.erl