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

Use root.std_options to override log behaviour #99

Merged
merged 1 commit into from
Jan 16, 2023

Conversation

aoldershaw
Copy link
Contributor

ziglang/zig#14181 changed the interface for overriding the log function. Previously, you would define a public root.log function. Now, you define a root.std_options namespace that has a logFn decl.

ziglang/zig#14181 changed the interface for overriding the log function.
Previously, you would define a public `root.log` function. Now, you
define a `root.std_options` namespace that has a `logFn` decl.

Signed-off-by: Aidan Oldershaw <[email protected]>
@ikskuh
Copy link
Contributor

ikskuh commented Jan 16, 2023

Thanks!

@ikskuh ikskuh merged commit 1c3e04b into ZigEmbeddedGroup:main Jan 16, 2023
@mattnite
Copy link
Contributor

🙏

@aoldershaw aoldershaw deleted the std-options branch January 16, 2023 19:20
mattnite added a commit that referenced this pull request Feb 26, 2024
mattnite added a commit that referenced this pull request Feb 26, 2024
mattnite added a commit that referenced this pull request Mar 1, 2024
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.

3 participants