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)
explicit

Definition at line 46 of file log_settings.cc.

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

46  {
47  old_settings_ = GetLogSettings();
48  SetLogSettings(settings);
49 }
void SetLogSettings(const LogSettings &settings)
Definition: log_settings.cc:28
LogSettings GetLogSettings()
Definition: log_settings.cc:38

◆ ~ScopedSetLogSettings()

fml::ScopedSetLogSettings::~ScopedSetLogSettings ( )

Definition at line 51 of file log_settings.cc.

References fml::SetLogSettings().

51  {
52  SetLogSettings(old_settings_);
53 }
void SetLogSettings(const LogSettings &settings)
Definition: log_settings.cc:28

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