MCPcopy Create free account
hub / github.com/davisking/dlib / set_all_logging_headers

Function set_all_logging_headers

dlib/logger/logger_kernel_1.cpp:50–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 void set_all_logging_headers (
51 const print_header_type& new_header
52 )
53 {
54 logger::global_data& gd = logger::get_global_data();
55 auto_mutex M(gd.m);
56 gd.loggers.reset();
57 while (gd.loggers.move_next())
58 {
59 gd.loggers.element()->print_header = new_header;
60 }
61
62 gd.set_logger_header("",new_header);
63 }
64
65// ----------------------------------------------------------------------------------------
66

Callers

nothing calls this directly

Calls 3

set_logger_headerMethod · 0.80
resetMethod · 0.45
move_nextMethod · 0.45

Tested by

no test coverage detected