Flutter Engine
 
Loading...
Searching...
No Matches
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 40 of file log_settings.cc.

40 {
41 old_settings_ = GetLogSettings();
42 SetLogSettings(settings);
43}
LogSettings GetLogSettings()
void SetLogSettings(const LogSettings &settings)

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

◆ ~ScopedSetLogSettings()

fml::ScopedSetLogSettings::~ScopedSetLogSettings ( )

Definition at line 45 of file log_settings.cc.

45 {
46 SetLogSettings(old_settings_);
47}

References fml::SetLogSettings().


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