We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5c0187 commit e7fa658Copy full SHA for e7fa658
sdk/src/common/global_log_handler.cc
@@ -18,11 +18,9 @@ namespace
18
struct GlobalLogHandlerData
19
{
20
nostd::shared_ptr<LogHandler> handler;
21
- LogLevel log_level;
+ LogLevel log_level{LogLevel::Warning};
22
23
- GlobalLogHandlerData()
24
- : handler(nostd::shared_ptr<LogHandler>(new DefaultLogHandler)), log_level(LogLevel::Warning)
25
- {}
+ GlobalLogHandlerData() : handler(nostd::shared_ptr<LogHandler>(new DefaultLogHandler)) {}
26
~GlobalLogHandlerData() { is_singleton_destroyed = true; }
27
28
GlobalLogHandlerData(const GlobalLogHandlerData &) = delete;
0 commit comments