Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
fml::testing::MakeSureFmlLogDoesNotSegfaultWhenStaticallyCalled Class Reference

Public Member Functions

 MakeSureFmlLogDoesNotSegfaultWhenStaticallyCalled ()
 

Detailed Description

Definition at line 21 of file logging_unittests.cc.

Constructor & Destructor Documentation

◆ MakeSureFmlLogDoesNotSegfaultWhenStaticallyCalled()

fml::testing::MakeSureFmlLogDoesNotSegfaultWhenStaticallyCalled::MakeSureFmlLogDoesNotSegfaultWhenStaticallyCalled ( )
inline

Definition at line 23 of file logging_unittests.cc.

23 {
24 SegfaultCatcher catcher;
25 // If this line causes a segfault, FML is using a method of logging that is
26 // not safe from static initialization on your platform.
27 FML_LOG(INFO)
28 << "This log exists to verify that static logging from FML works.";
29 }
#define FML_LOG(severity)
Definition logging.h:82

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