Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
static int log_file_index = -1;
33
34
void 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
42
void dsv_log_uninit()
43
{
Callers
1
main
Function · 0.85
Calls
2
xlog_new
Function · 0.85
xlog_create_writer
Function · 0.85
Tested by
no test coverage detected