Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New API for static logging #508

Open
3 tasks
JakeWharton opened this issue Oct 31, 2024 · 0 comments
Open
3 tasks

New API for static logging #508

JakeWharton opened this issue Oct 31, 2024 · 0 comments
Labels
enhancement New feature or request mosaic/runtime

Comments

@JakeWharton
Copy link
Owner

JakeWharton commented Oct 31, 2024

I'm thinking that you append a composable function to a composition local, with an option of choosing stderr. The current list-based approach leaks memory and (fixed) has poor ergonomics.


From #663

  • Add AnnotatedString-based logger for non-Composable call sites
  • Consider naming Static something like StaticRenderEffect and taking keys
  • Move Static out of main tree and append to same thing which takes the AnnotatedStrings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mosaic/runtime
Projects
None yet
Development

No branches or pull requests

1 participant