Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
skottie::Logger Class Referenceabstract

#include <Skottie.h>

Inheritance diagram for skottie::Logger:
SkRefCnt SkRefCntBase

Public Types

enum class  Level { kWarning , kError }
 

Public Member Functions

virtual void log (Level, const char message[], const char *json=nullptr)=0
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Detailed Description

A Logger subclass can be used to receive Animation::Builder parsing errors and warnings.

Definition at line 51 of file Skottie.h.

Member Enumeration Documentation

◆ Level

enum class skottie::Logger::Level
strong
Enumerator
kWarning 
kError 

Definition at line 53 of file Skottie.h.

Member Function Documentation

◆ log()

virtual void skottie::Logger::log ( Level  ,
const char  message[],
const char *  json = nullptr 
)
pure virtual

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