Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
Log Struct Reference
Collaboration diagram for Log:

Data Fields

FILE * logfile
 
char * log_filepath
 Current log file path.
 
MPMCQueuemqueue
 Message queue, for when messages are sent from a non-gtk thread.
 
ObjectPoolobj_pool
 Object pool for the queue.
 
char * log_domains
 Used by the writer func.
 
bool initialized
 
bool use_structured_for_console
 Whether to use structured log when writing to the console.
 
GLogLevelFlags min_log_level_for_test_console
 Minimum log level for the console.
 
LogViewerWidget * viewer
 Currently opened log viewer.
 
guint writer_source_id
 ID of the source function.
 
gint64 last_bt_time
 Last timestamp a backtrace was obtained.
 

Detailed Description

Definition at line 23 of file log.h.

Field Documentation

◆ initialized

bool Log::initialized

Definition at line 47 of file log.h.

◆ last_bt_time

gint64 Log::last_bt_time

Last timestamp a backtrace was obtained.

This is used to avoid calculating too many backtraces and showing too many error popups at once.

Definition at line 77 of file log.h.

◆ log_domains

char* Log::log_domains

Used by the writer func.

Definition at line 45 of file log.h.

◆ log_filepath

char* Log::log_filepath

Current log file path.

Definition at line 35 of file log.h.

◆ logfile

FILE* Log::logfile

Definition at line 25 of file log.h.

◆ min_log_level_for_test_console

GLogLevelFlags Log::min_log_level_for_test_console

Minimum log level for the console.

Used during tests.

Definition at line 62 of file log.h.

◆ mqueue

MPMCQueue* Log::mqueue

Message queue, for when messages are sent from a non-gtk thread.

Definition at line 39 of file log.h.

◆ obj_pool

ObjectPool* Log::obj_pool

Object pool for the queue.

Definition at line 42 of file log.h.

◆ use_structured_for_console

bool Log::use_structured_for_console

Whether to use structured log when writing to the console.

Used during tests.

Definition at line 55 of file log.h.

◆ viewer

LogViewerWidget* Log::viewer

Currently opened log viewer.

Definition at line 65 of file log.h.

◆ writer_source_id

guint Log::writer_source_id

ID of the source function.

Definition at line 68 of file log.h.


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