]> git.ipfire.org Git - thirdparty/asterisk.git/commit
logger: use __FUNCTION__ instead of __PRETTY_FUNCTION__
authorJaco Kroon <jaco@uls.co.za>
Thu, 28 Oct 2021 07:28:57 +0000 (09:28 +0200)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 29 Nov 2021 14:51:33 +0000 (08:51 -0600)
commit0790a6787768cc792efb90c784cf98ac2b085ced
tree0c79f62042fc146607c75c676dc71649363bc2f0
parent5f9c9ba8c3b239c899766aa36db88307f54407b5
logger: use __FUNCTION__ instead of __PRETTY_FUNCTION__

This avoids a few long-name overflows, at the cost of less instructive
names in the case of C++ (specifically overloaded functions and class
methods).  This in turn is offset against the fact that we're logging
the filename and line numbers in any case.

Change-Id: I54101a0bb5f8cb9ef63ec12c5e0d4c8edafff9ed
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
include/asterisk/logger.h