[Asterisk-code-review] logger: use __FUNCTION__ instead of __PRETTY_FUNCTION__ (asterisk[16])

Jaco Kroon asteriskteam at digium.com
Mon Nov 22 01:11:43 CST 2021


Jaco Kroon has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/c/asterisk/+/17571 )

Change subject: logger: use __FUNCTION__ instead of __PRETTY_FUNCTION__
......................................................................

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 at uls.co.za>
---
M include/asterisk/logger.h
1 file changed, 15 insertions(+), 15 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/71/17571/2
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17571
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I54101a0bb5f8cb9ef63ec12c5e0d4c8edafff9ed
Gerrit-Change-Number: 17571
Gerrit-PatchSet: 2
Gerrit-Owner: Jaco Kroon <jaco at uls.co.za>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211122/8819ed15/attachment-0001.html>


More information about the asterisk-code-review mailing list