You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
c0a20666b1
* include/urjtag/parse.h (urj_parse_stream): Update declaration. (urj_parse_file): Likewise. * include/urjtag/log.h (urj_do_log): Add file, line, func parameters. (urj_log): Pass __FILE__, __LINE__, __func__ to urj_do_log. (urj_warning): Use urj_log. (urj_log_error_describe): Declare. * src/tap/detect.c (urj_tap_detect_parts): Use urj_log_error_describe. * src/global/log-error.c: Include <stdbool.h>. (log_printf): New. (urj_do_log): Print log level prefix for error, warning, or when log level is URJ_LOG_LEVEL_DETAIL or lower. Print file, line, func when log level is URJ_LOG_LEVEL_DEBUG or lower. (urj_error_describe): Don't include file, line, or function. (urj_log_error_describe): New. * src/global/parse.c (urj_parse_stream): Remove log level argument. Use urj_log_error_describe. (urj_parse_file): Remove log level argument. (urj_parse_include): Update use of urj_parse_file. * src/apps/jtag/jtag.c (jtag_readline_multiple_commands_support): Use urj_log_error_describe. (jtag_parse_rc): Update use of urj_parse_file. (main): Update use of urj_parse_file and urj_parse_stream. Use urj_log_warning. * src/apps/bsdl2jtag/bsdl2jtag.c (main): Use urj_log_error. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1967 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 |
14 years ago | |
---|---|---|
urjtag | 14 years ago | |
web | 15 years ago |