Skip to content

iOS,macOS: Make core logging accessible to Swift code #168564

@cbracken

Description

@cbracken

Today, we use FML for core functionality such as logging and assertions in the iOS and macOS embedders. FML_LOG, FML_DLOG are implemented using C++ macros and thus currently unavailable to Swift.

Logging is platform-specific and a hook exposed via log_message_callback in the embedder API, and via Settings::log_message_callback in engine internals. We should implement a Swift-compatible logger, and use that in place of the current C++ macros.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listfyi-macosFor the attention of macOS platform teamplatform-iosiOS applications specificallyplatform-macBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions