Flutter Engine
fml::ScopedSetLogSettings Class Reference

#include <log_settings.h>

Public Member Functions

 ScopedSetLogSettings (const LogSettings &settings)
 
 ~ScopedSetLogSettings ()
 

Detailed Description

Definition at line 38 of file log_settings.h.

Constructor & Destructor Documentation

◆ ScopedSetLogSettings()

fml::ScopedSetLogSettings::ScopedSetLogSettings ( const LogSettings settings)

Definition at line 37 of file log_settings.cc.

References fml::GetLogSettings(), and fml::SetLogSettings().

37  {
38  old_settings_ = GetLogSettings();
39  SetLogSettings(settings);
40 }
void SetLogSettings(const LogSettings &settings)
Definition: log_settings.cc:23
LogSettings GetLogSettings()
Definition: log_settings.cc:29

◆ ~ScopedSetLogSettings()

fml::ScopedSetLogSettings::~ScopedSetLogSettings ( )

Definition at line 42 of file log_settings.cc.

References fml::SetLogSettings().

42  {
43  SetLogSettings(old_settings_);
44 }
void SetLogSettings(const LogSettings &settings)
Definition: log_settings.cc:23

The documentation for this class was generated from the following files: