Android-cuttlefish cvd tool
Public Attributes | List of all members
__android_log_message Struct Reference

#include <log.h>

Collaboration diagram for __android_log_message:
Collaboration graph
[legend]

Public Attributes

size_t struct_size
 
int32_t buffer_id
 
int32_t priority
 
const char * tag
 
const char * file
 
uint32_t line
 
const char * message
 

Detailed Description

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().

Member Data Documentation

◆ buffer_id

int32_t __android_log_message::buffer_id

log_id_t values.

◆ file

const char* __android_log_message::file

Optional file name, may be set to nullptr.

◆ line

uint32_t __android_log_message::line

Optional line number, ignore if file is nullptr.

◆ message

const char* __android_log_message::message

The log message itself.

◆ priority

int32_t __android_log_message::priority

◆ struct_size

size_t __android_log_message::struct_size

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

◆ tag

const char* __android_log_message::tag

The tag for the log message.


The documentation for this struct was generated from the following file: