Skip to content

Remove second arg to init/LogSink#145

Closed
alan-george-lk wants to merge 1 commit into
mainfrom
feature/init_fix
Closed

Remove second arg to init/LogSink#145
alan-george-lk wants to merge 1 commit into
mainfrom
feature/init_fix

Conversation

@alan-george-lk
Copy link
Copy Markdown
Collaborator

@alan-george-lk alan-george-lk commented May 29, 2026

This PR introduces a breaking change to livekit::initialize, removing the second argument, and removes the LogSink enum entirely. This was not decided lightly and was a result of the extensive log forwarding investigation done in #133 and upcoming v1.0.0 breaking changes anyways.

  • LogSink enum was not working as expected
    • If set to kCallback, it would enable FFI capture_logs, but no support existed in the FFI client to handle those events. So functionally, kCallback would silently disable all Rust logs (never would reach console out or callbacks of any kind)
    • Additionally, setting this value to kCallback wouldn't actually forward logs to the user lambda. That only works via livekit::setLoggingCallback

@alan-george-lk alan-george-lk marked this pull request as ready for review May 29, 2026 03:35
Comment thread docs/doxygen/index.md
@stephen-derosa
Copy link
Copy Markdown
Collaborator

consumed by #143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants