Source file and line number are part of the structure
passed to the slog-function:
I understand, my question was about the possibility of adding a flavour of the `LOG_XX`
macro that takes file/line as arguments and populates the slog structure rather than
always using `__FILE__`/`__LINE__`. One example for such use-case would be custom config
logging commands that extract executed config file's name/line from PVEs and pass the
to the new `LOG_XX` macro for the nearly identical logging behaviour regardless of whether
logs are generated from CFG or C code.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3902#issuecomment-2338448175
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3902/c2338448175(a)github.com>