Loading...
Searching...
No Matches
CAPI_Logger.h File Reference

Overview

User-defined logging interface.

#include <Ultralight/CAPI/CAPI_Logger.h>

The library uses this to display log messages for debugging during development.

This is intended to be implemented by users and defined before creating the Renderer.

See also
ulPlatformSetLogger()

Classes

struct  ULLogger
 

Typedefs

typedef void(* ULLoggerLogMessageCallback) (ULLogLevel log_level, ULString message)
 The callback invoked when the library wants to print a message to the log.
 

Enumerations

enum  ULLogLevel { kLogLevel_Error = 0 , kLogLevel_Warning , kLogLevel_Info }
 

Typedef Documentation

◆ ULLoggerLogMessageCallback

typedef void(* ULLoggerLogMessageCallback) (ULLogLevel log_level, ULString message)

The callback invoked when the library wants to print a message to the log.

Enumeration Type Documentation

◆ ULLogLevel

enum ULLogLevel
Enumerator
kLogLevel_Error 
kLogLevel_Warning 
kLogLevel_Info 

Go to the source code of this file.