libxr 1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
LibXR::LogData Struct Reference

日志数据结构体 / Log data structure More...

#include <logger.hpp>

Collaboration diagram for LibXR::LogData:

Data Fields

TimestampMS timestamp
 时间戳 / Timestamp
 
LogLevel level
 日志级别 / Log level
 
const charfile
 文件名指针 / Source file name pointer
 
uint32_t line
 行号 / Line number
 
char message [XR_LOG_MESSAGE_MAX_LEN]
 日志消息内容 / Log message content
 

Detailed Description

日志数据结构体 / Log data structure

Definition at line 31 of file logger.hpp.

Field Documentation

◆ file

const char* LibXR::LogData::file

文件名指针 / Source file name pointer

Definition at line 35 of file logger.hpp.

◆ level

LogLevel LibXR::LogData::level

日志级别 / Log level

Definition at line 34 of file logger.hpp.

◆ line

uint32_t LibXR::LogData::line

行号 / Line number

Definition at line 36 of file logger.hpp.

◆ message

char LibXR::LogData::message[XR_LOG_MESSAGE_MAX_LEN]

日志消息内容 / Log message content

Definition at line 37 of file logger.hpp.

◆ timestamp

TimestampMS LibXR::LogData::timestamp

时间戳 / Timestamp

Definition at line 33 of file logger.hpp.


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