|
#define | LOG_BUFFER_SIZE (3 * 1024) |
|
#define | LOG_MAX_HEX_DUMP (0x00ffffff) |
|
#define | LOG_MAX_HEX_DUMP_HUMAN_READABLE "16MB" |
|
#define | LOG_HEX_BYTES_PER_LINE (16) |
|
#define | LOG_HEX_LINE_BUF_SIZE (128) |
|
#define | LOG_ANDROID_TAG_PREFIX "monado" |
|
#define | DISPATCH_SINK(FILE, LINE, FUNC, LEVEL, FORMAT, ARGS) |
|
#define | CHECK_RET_AND_UPDATE_STATE() |
|
|
enum u_logging_level | u_log_get_global_level (void) |
| Returns the global logging level, subsystems own logging level take precedence. More...
|
|
void | u_log_set_sink (u_log_sink_func_t func, void *data) |
| Sets the logging sink, log is still passed on to the platform defined output as well as the sink. More...
|
|
static void | u_log_hexdump_line (char *buf, size_t offset, const uint8_t *data, size_t data_size) |
|
void | u_log_hex (const char *file, int line, const char *func, enum u_logging_level level, const uint8_t *data, const size_t data_size) |
| Log implementation for dumping memory buffers as hex: do not call directly, use a macro that wraps it. More...
|
|
void | u_log_xdev_hex (const char *file, int line, const char *func, enum u_logging_level level, struct xrt_device *xdev, const uint8_t *data, const size_t data_size) |
| Device-related log implementation for dumping memory buffers as hex: do not call directly, use a macro that wraps it. More...
|
|
static int | print_prefix_mono (const char *func, enum u_logging_level level, char *buf, int remaining) |
|
static int | print_prefix (const char *func, enum u_logging_level level, char *buf, int remaining) |
|
static int | log_as_json (const char *file, const char *func, enum u_logging_level level, const char *format, va_list args) |
|
static int | do_print (const char *file, int line, const char *func, enum u_logging_level level, const char *format, va_list args) |
|
void | u_log (const char *file, int line, const char *func, enum u_logging_level level, const char *format,...) |
|
void | u_log_xdev (const char *file, int line, const char *func, enum u_logging_level level, struct xrt_device *xdev, const char *format,...) |
|