[Asterisk-code-review] logger: Fix scope trace defines (asterisk[13])
Friendly Automation
asteriskteam at digium.com
Wed Jul 1 09:17:30 CDT 2020
Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/14579 )
Change subject: logger: Fix scope trace defines
......................................................................
logger: Fix scope trace defines
Although not implemented in the 13 branch, we need to keep the
defines consistent across all branches.
Change-Id: Id88ad71ca36818a35f1f14a5acb450e240366301
---
M include/asterisk/logger.h
1 file changed, 8 insertions(+), 5 deletions(-)
Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Kevin Harwell: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index ada04ab..9562af4 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -601,11 +601,14 @@
* common to all branches.
*/
#if 1
-#define ast_trace(__level)
-#define ast_trace_raw(__level, __indent_type, __fmt, ...)
-#define ast_trace_msg(__level, __indent_type, __fmt, ...)
-#define SCOPE_TRACE_MSG(__debug_level, __fmt, ...)
-#define SCOPE_TRACE(__level)
+#define ast_trace_raw(__level, __indent_type, ...)
+#define ast_trace(__level, ...)
+#define SCOPE_TRACE(__level, ...)
+#define SCOPE_ENTER(level, ...)
+#define SCOPE_EXIT(...)
+#define SCOPE_EXIT_EXPR(__expr, ...)
+#define SCOPE_EXIT_RTN(...)
+#define SCOPE_EXIT_RTN_VALUE(__return_value, ...)
#endif
#if defined(__cplusplus) || defined(c_plusplus)
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14579
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: Id88ad71ca36818a35f1f14a5acb450e240366301
Gerrit-Change-Number: 14579
Gerrit-PatchSet: 3
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200701/6a9989d9/attachment.html>
More information about the asterisk-code-review
mailing list