__android_log_message
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
log_id_t values.
|
file
|
const char *
Optional file name, may be set to nullptr.
|
line
|
uint32_t
Optional line number, ignore if file is nullptr.
|
message
|
const char *
The log message itself.
|
priority
|
int32_t
android_LogPriority values.
|
struct_size
|
size_t
Must be set to
sizeof(__android_log_message) and is used for versioning. |
tag
|
const char *
The tag for the log message.
|
Public attributes
file
Declared inandroid/log.h
const char * __android_log_message::file
Optional file name, may be set to nullptr.
line
Declared inandroid/log.h
uint32_t __android_log_message::line
Optional line number, ignore if file is nullptr.
message
Declared inandroid/log.h
const char * __android_log_message::message
The log message itself.
priority
Declared inandroid/log.h
int32_t __android_log_message::priority
android_LogPriority values.
struct_size
Declared inandroid/log.h
size_t __android_log_message::struct_size
Must be set to sizeof(__android_log_message)
and is used for versioning.
tag
Declared inandroid/log.h
const char * __android_log_message::tag
The tag for the log message.