MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / set

Method set

dds/DCPS/debug.cpp:38–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36#endif
37
38void LogLevel::set(LogLevel::Value value)
39{
40 level_ = value;
41#if OPENDDS_CONFIG_SECURITY
42 if (level_ >= Notice) {
43 security_debug.set_debug_level(1);
44 } else {
45 security_debug.set_all_flags_to(false);
46 }
47#endif
48 if (level_ >= Debug) {
49 if (DCPS_debug_level == 0) {
50 DCPS_debug_level = 1;
51 }
52 } else {
53 DCPS_debug_level = 0;
54#ifndef OPENDDS_UTIL_BUILD
55 Transport_debug_level = 0;
56 transport_debug = TransportDebug();
57#endif
58 }
59}
60
61namespace {
62 struct LogLevelNameValue {

Callers 15

echo_serverFunction · 0.45
parse_argsFunction · 0.45
echo_serverFunction · 0.45
parse_argsFunction · 0.45
assignFunction · 0.45
initMethod · 0.45
common_initMethod · 0.45
handle_inputMethod · 0.45
parse_envMethod · 0.45
parse_argsMethod · 0.45
set_repo_iorMethod · 0.45
schedulerMethod · 0.45

Calls 2

set_debug_levelMethod · 0.80
set_all_flags_toMethod · 0.80

Tested by 2

on_data_availableMethod · 0.36