MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / log_print_usage

Function log_print_usage

common/log.h:555–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

553}
554
555inline void log_print_usage()
556{
557 printf("log options:\n");
558 /* format
559 printf(" -h, --help show this help message and exit\n");*/
560 /* spacing
561 printf("__-param----------------Description\n");*/
562 printf(" --log-test Run simple logging test\n");
563 printf(" --log-disable Disable trace logs\n");
564 printf(" --log-enable Enable trace logs\n");
565 printf(" --log-file Specify a log filename (without extension)\n");
566 printf(" --log-new Create a separate new log file on start. "
567 "Each log file will have unique name: \"<name>.<ID>.log\"\n");
568 printf(" --log-append Don't truncate the old log file.\n");
569}
570
571#define log_dump_cmdline(argc, argv) log_dump_cmdline_impl(argc, argv)
572

Callers 1

gpt_print_usageFunction · 0.85

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected