Changes between Version 4 and Version 5 of Ticket #1372
- Timestamp:
- Sep 18, 2011 11:37:16 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1372 – Description
v4 v5 22 22 Use {{{pj_log_push_indent()}}} and {{{pj_log_pop_indent()}}} to use this new feature. The {{{PJ_LOG_HAS_INDENT}}} must be set in the log decoration flag (it is set by default by PJSUA-LIB). 23 23 24 Also two new macros to customize the behavior: PJ_LOG_INDENT_SIZE, and PJ_LOG_INDENT_CHAR. 24 The indentation is applied on per thread basis. 25 26 The complete features introduced by this ticket are: 27 - new functions: pj_log_add_indent(int), pj_log_push_indent(), pj_log_pop_indent() 28 - new log decor: PJ_LOG_HAS_INDENT 29 - new macros: PJ_LOG_ENABLE_INDENT (1), PJ_LOG_INDENT_SIZE (1), PJ_LOG_INDENT_CHAR ('.') 30 25 31 26 32 Sample code: