4 * Created on: Sep 16, 2010
11 #include <sys/types.h>
16 #include "../src/str_util.h"
20 log_debug("debug v%d.%d\n", 2, 3);
22 log_info("info v%d\n", 2);
23 log_warning("warning\n");
24 log_warning("warning v%d\n", 2);
26 log_error("error v%d\n", 2);
29 void test_str_util() {
31 char b_arr[] = {0x1, 0x11, 0x21, 0x31};
33 res_str = get_as_hex_str(b_arr, 4);
34 log_info("bytes: %s\n", res_str);
38 int main(int argc, char** argv)