struct log_msg_viewΒΆ

View structure for log messages.

#include <log_msg_view.h>

struct log_msg_view {
    // fields

    size_t length;
    const void* start;
    te_log_version version;
    te_log_ts_sec ts_sec;
    te_log_ts_usec ts_usec;
    te_log_level level;
    te_log_id log_id;
    te_log_nfl entity_len;
    const char* entity;
    te_log_nfl user_len;
    const char* user;
    te_log_nfl fmt_len;
    const char* fmt;
    const void* args;
};