MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / dsv_log_init

Function dsv_log_init

DSView/pv/log.cpp:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32static int log_file_index = -1;
33
34void dsv_log_init()
35{
36 if (log_ctx == nullptr){
37 log_ctx = xlog_new();
38 dsv_log = xlog_create_writer(log_ctx, "DSView");
39 }
40}
41
42void dsv_log_uninit()
43{

Callers 1

mainFunction · 0.85

Calls 2

xlog_newFunction · 0.85
xlog_create_writerFunction · 0.85

Tested by

no test coverage detected