MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / common_log_main

Function common_log_main

subprojects/llama.cpp/common/log.cpp:366–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366struct common_log * common_log_main() {
367 static struct common_log log;
368 static std::once_flag init_flag;
369 std::call_once(init_flag, [&]() {
370 // Set default to auto-detect colors
371 log.set_colors(tty_can_use_colors());
372 });
373
374 return &log;
375}
376
377void common_log_pause(struct common_log * log) {
378 log->pause();

Callers 8

sigint_handlerFunction · 0.85
setup_child_serverMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
set_displayFunction · 0.85
startFunction · 0.85

Calls 2

tty_can_use_colorsFunction · 0.85
set_colorsMethod · 0.80

Tested by 1

mainFunction · 0.68