Ignore:
Timestamp:
Sep 18, 2011 2:38:46 PM (10 years ago)
Author:
bennylp
Message:

Implemented re #1372: New log features: indentation and thread switching indication

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/config.h

    r3740 r3752  
    409409#endif 
    410410 
     411/** 
     412 * Enable log indentation feature. 
     413 * 
     414 * Default: 1 
     415 */ 
     416#ifndef PJ_LOG_ENABLE_INDENT 
     417#   define PJ_LOG_ENABLE_INDENT        1 
     418#endif 
     419 
     420/** 
     421 * Number of PJ_LOG_INDENT_CHAR to put every time pj_log_push_indent() 
     422 * is called. 
     423 * 
     424 * Default: 1 
     425 */ 
     426#ifndef PJ_LOG_INDENT_SIZE 
     427#   define PJ_LOG_INDENT_SIZE        1 
     428#endif 
     429 
     430/** 
     431 * Log indentation character. 
     432 * 
     433 * Default: space 
     434 */ 
     435#ifndef PJ_LOG_INDENT_CHAR 
     436#   define PJ_LOG_INDENT_CHAR       '.' 
     437#endif 
    411438 
    412439/** 
Note: See TracChangeset for help on using the changeset viewer.