]> 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)
committerJaco Kroon <jaco@uls.co.za>
Mon, 22 Nov 2021 07:12:13 +0000 (02:12 -0500)
commit89237be105390ab2cab94e6c8e9ae46b504bb65f
tree84c36e7dcb9f0a457d05bb80f95c955f8bede62e
parentea941032ffe9b3acbc1d41c24990590771fe3bb2
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