|
My Project
programmer's documentation
|
Go to the documentation of this file.
182 #if defined(__GNUC__)
188 __attribute__((format(printf, 2, 3)));
243 const char *header_title,
267 const char *line_titles[],
268 const unsigned calls[],
size_t cs_log_strlen(const char *s)
Count printable length of a character string.
Definition: cs_log.c:257
void cs_log_timer_array(cs_log_t log, int indent, int n_lines, const char *line_titles[], const unsigned calls[], const cs_timer_counter_t time_count[])
Output timing data block to a given log.
Definition: cs_log.c:635
Definition: cs_timer.h:57
#define END_C_DECLS
Definition: cs_defs.h:468
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
int cs_log_printf_flush(cs_log_t log)
Flush output of a log file.
Definition: cs_log.c:517
void cs_log_separator(cs_log_t log)
Print a separator line in a log file.
Definition: cs_log.c:553
int cs_log_vprintf(cs_log_t log, const char *format, va_list arg_ptr)
Print log info to a given log type.
Definition: cs_log.c:415
void cs_log_binary_pp_int32(int32_t code, char buf[33])
Pretty-print int-32 based bit field to string.
Definition: cs_log.c:374
void cs_log_strpad(char *dest, const char *src, size_t width, size_t destsize)
Pad a string so that its printable length is the required length.
Definition: cs_log.c:328
int cs_glob_log_frequency
cs_log_t
Definition: cs_log.h:48
void cs_log_strpadl(char *dest, const char *src, size_t width, size_t destsize)
Pad a string on the left so that its printable length is the required length.
Definition: cs_log.c:356
int cs_log_printf(cs_log_t log, const char *format,...)
Print log info to a given log type.
Definition: cs_log.c:463
void cs_log_timer_array_header(cs_log_t log, int indent, const char *header_title, bool calls)
Output timing data array header to a given log.
Definition: cs_log.c:579