__android_log_message

#include <log.h>

Logger data struct used for writing log messages to liblog via __android_log_write_logger_data() and sending log messages to user defined loggers specified in __android_log_set_logger().

Summary

Public attributes

buffer_id
int32_t
Must be set to sizeof(__android_log_message) and is used for versioning.
file
const char *
The tag for the log message.
line
uint32_t
Optional file name, may be set to nullptr.
message
const char *
Optional line number, ignore if file is nullptr.
priority
int32_t
log_id_t values.
struct_size
size_t
tag
const char *

Public attributes

buffer_id

int32_t __android_log_message::buffer_id

Must be set to sizeof(__android_log_message) and is used for versioning.

file

const char * __android_log_message::file

The tag for the log message.

line

uint32_t __android_log_message::line

Optional file name, may be set to nullptr.

message

const char * __android_log_message::message

Optional line number, ignore if file is nullptr.

priority

int32_t __android_log_message::priority

log_id_t values.

struct_size

size_t __android_log_message::struct_size

tag

const char * __android_log_message::tag