17 #ifndef EXT_SYSTEM_LOGGER_H_
18 #define EXT_SYSTEM_LOGGER_H_
21 #include <platform/time.h>
35 void ext_write_log(FILE * sink,
const char * buffer,
size_t message_size);
59 int ext_format_sprintf(
char * buffer,
size_t buffer_size,
const char * format,
const char * log_level_name,
const char * truncated_name,
int lineno,
kaa_error_t error_code);
69 int ext_snpintf(
char * buffer,
size_t buffer_size,
const char * format, ...);
79 int ext_logger_sprintf(
char * buffer,
size_t buffer_size,
const char * format, va_list args);
int ext_logger_sprintf(char *buffer, size_t buffer_size, const char *format, va_list args)
int ext_snpintf(char *buffer, size_t buffer_size, const char *format,...)
System depended snprintf implementation.
kaa_error_t
Definition: kaa_error.h:31
kaa_time_t ext_get_systime(void)
void ext_write_log(FILE *sink, const char *buffer, size_t message_size)
int ext_format_sprintf(char *buffer, size_t buffer_size, const char *format, const char *log_level_name, const char *truncated_name, int lineno, kaa_error_t error_code)
Put formated LOG prefix in buffer.