Changeset 4584


Ignore:
Timestamp:
Aug 30, 2013 4:03:22 AM (11 years ago)
Author:
bennylp
Message:

Misc (re #1630): fixed link error when logging is completely disabled via PJ_LOG_MAX_LEVEL macro

File:
1 edited

Legend:

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

    r3752 r4584  
    261261 
    262262/** 
     263 * Write to log. 
     264 * 
     265 * @param sender    Source of the message. 
     266 * @param level     Verbosity level. 
     267 * @param format    Format. 
     268 * @param marker    Marker. 
     269 */ 
     270#  define pj_log(sender, level, format, marker) 
     271 
     272/** 
    263273 * Set maximum log level. Application can call this function to set  
    264274 * the desired level of verbosity of the logging messages. The bigger the 
     
    282292 */ 
    283293#  define pj_log_set_decor(decor) 
     294 
     295/** 
     296 * Add indentation to log message. Indentation will add PJ_LOG_INDENT_CHAR 
     297 * before the message, and is useful to show the depth of function calls. 
     298 * 
     299 * @param indent    The indentation to add or substract. Positive value 
     300 *                  adds current indent, negative value subtracts current 
     301 *                  indent. 
     302 */ 
     303#  define pj_log_add_indent(indent) 
     304 
     305/** 
     306 * Push indentation to the right by default value (PJ_LOG_INDENT). 
     307 */ 
     308#  define pj_log_push_indent() 
     309 
     310/** 
     311 * Pop indentation (to the left) by default value (PJ_LOG_INDENT). 
     312 */ 
     313#  define pj_log_pop_indent() 
    284314 
    285315/** 
Note: See TracChangeset for help on using the changeset viewer.