Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::LogMessage Struct Reference

Log message. More...

#include <log.h>

Public Attributes

LogLevel level
 Logging level. More...
 
const char * module
 Name of module that originated message. More...
 
const char * file
 File path. More...
 
int line
 Line number. More...
 
nanoseconds_t time
 Timestamp, nanoseconds since Unix epoch. More...
 
uint64_t pid
 Plaform-specific process ID. More...
 
uint64_t tid
 Plaform-specific thread ID. More...
 
const char * text
 Message text. More...
 
LocationMode location_mode
 Whether to enable location. More...
 
ColorsMode colors_mode
 Whether to enable colors. More...
 

Detailed Description

Log message.

Definition at line 68 of file log.h.

Member Data Documentation

◆ colors_mode

ColorsMode roc::core::LogMessage::colors_mode

Whether to enable colors.

Definition at line 82 of file log.h.

◆ file

const char* roc::core::LogMessage::file

File path.

Definition at line 72 of file log.h.

◆ level

LogLevel roc::core::LogMessage::level

Logging level.

Definition at line 69 of file log.h.

◆ line

int roc::core::LogMessage::line

Line number.

Definition at line 73 of file log.h.

◆ location_mode

LocationMode roc::core::LogMessage::location_mode

Whether to enable location.

Definition at line 81 of file log.h.

◆ module

const char* roc::core::LogMessage::module

Name of module that originated message.

Definition at line 71 of file log.h.

◆ pid

uint64_t roc::core::LogMessage::pid

Plaform-specific process ID.

Definition at line 76 of file log.h.

◆ text

const char* roc::core::LogMessage::text

Message text.

Definition at line 79 of file log.h.

◆ tid

uint64_t roc::core::LogMessage::tid

Plaform-specific thread ID.

Definition at line 77 of file log.h.

◆ time

nanoseconds_t roc::core::LogMessage::time

Timestamp, nanoseconds since Unix epoch.

Definition at line 75 of file log.h.


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