]> git.ipfire.org Git - thirdparty/asterisk.git/commit
scope_trace: Added debug messages and added additional macros
authorGeorge Joseph <gjoseph@digium.com>
Wed, 19 Aug 2020 12:37:23 +0000 (06:37 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 24 Aug 2020 13:41:27 +0000 (08:41 -0500)
commit64ca2d48da4df64eb25004a997e0868cda41c3ac
treede49a36590cc3512509f58feac7f7d33c4d7f6e6
parent118cb3f0dd6df7373d3aa64a1ca6afb65ab7f23f
scope_trace: Added debug messages and added additional macros

The SCOPE_ENTER and SCOPE_EXIT* macros now print debug messages
at the same level as the scope level.  This allows the same
messages to be printed to the debug log when AST_DEVMODE
isn't enabled.

Also added a few variants of the SCOPE_EXIT macros that will
also call ast_log instead of ast_debug to make it easier to
use scope tracing and still print error messages.

Change-Id: I7fe55f7ec28069919a0fc0b11a82235ce904cc21
apps/app_dial.c
include/asterisk/logger.h
main/stream.c