Blender  V3.3
Public Attributes | List of all members
CLogContext Struct Reference

Public Attributes

CLG_LogTypetypes
 
CLG_LogRefrefs
 
CLG_IDFilterfilters [2]
 
bool use_color
 
bool use_basename
 
bool use_timestamp
 
int output
 
FILE * output_file
 
uint64_t timestamp_tick_start
 
struct {
   int   level
 
default_type
 
struct {
   void(*   error_fn )(void *file_handle)
 
   void(*   fatal_fn )(void *file_handle)
 
   void(*   backtrace_fn )(void *file_handle)
 
callbacks
 

Detailed Description

Definition at line 67 of file clog.c.

Member Data Documentation

◆ backtrace_fn

void(* CLogContext::backtrace_fn) (void *file_handle)

Definition at line 97 of file clog.c.

Referenced by clg_ctx_backtrace(), CLG_ctx_backtrace_fn_set(), CLG_log_str(), and CLG_logf().

◆ 

struct { ... } CLogContext::callbacks

◆ 

struct { ... } CLogContext::default_type

For new types.

Referenced by CLG_ctx_init(), CLG_ctx_level_set(), and clg_ctx_type_register().

◆ error_fn

void(* CLogContext::error_fn) (void *file_handle)

Definition at line 95 of file clog.c.

Referenced by clg_ctx_error_action(), CLG_error_fn_set(), and CLT_ctx_error_fn_set().

◆ fatal_fn

void(* CLogContext::fatal_fn) (void *file_handle)

◆ filters

CLG_IDFilter* CLogContext::filters[2]

◆ level

int CLogContext::level

Definition at line 91 of file clog.c.

Referenced by CLG_ctx_init(), CLG_ctx_level_set(), clg_ctx_type_register(), and CLG_level_set().

◆ output

int CLogContext::output

Borrowed, not owned.

Definition at line 83 of file clog.c.

Referenced by CLG_ctx_output_set(), CLG_log_str(), and CLG_logf().

◆ output_file

FILE* CLogContext::output_file

◆ refs

CLG_LogRef* CLogContext::refs

Single linked list of references.

Definition at line 71 of file clog.c.

Referenced by CLG_ctx_free(), and CLG_logref_init().

◆ timestamp_tick_start

uint64_t CLogContext::timestamp_tick_start

For timer (use_timestamp).

Definition at line 87 of file clog.c.

Referenced by CLG_ctx_output_use_timestamp_set(), CLG_log_str(), and CLG_logf().

◆ types

CLG_LogType* CLogContext::types

Single linked list of types.

Definition at line 69 of file clog.c.

Referenced by CLG_ctx_free(), CLG_ctx_level_set(), clg_ctx_type_find_by_name(), and clg_ctx_type_register().

◆ use_basename

bool CLogContext::use_basename

Definition at line 79 of file clog.c.

Referenced by CLG_ctx_output_use_basename_set(), CLG_log_str(), and CLG_logf().

◆ use_color

bool CLogContext::use_color

Definition at line 78 of file clog.c.

Referenced by CLG_color_support_get(), CLG_ctx_output_set(), CLG_init(), CLG_log_str(), and CLG_logf().

◆ use_timestamp

bool CLogContext::use_timestamp

Definition at line 80 of file clog.c.

Referenced by CLG_ctx_output_use_timestamp_set(), CLG_log_str(), and CLG_logf().


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