You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature request is to utilize a build option in build.zig to set the log level dynamically. Currently, the build.zig file includes the following code snippet:
options.addOption(std.log.Level, "log_level", b.option(std.log.Level, "log_level", "The Log Level to be used.") orelse.info);
This code suggests an intention to allow the user to specify a log level at build time, but it seems this functionality is not fully implemented or utilized.
Suggested Implementation
Enhance Build Script: Modify the build.zig script to fully support changing the log level through the build options.
Documentation: Update the project documentation to guide users on how to use this build option to change the log level.
Testing: Ensure that changing the log level through build options is tested and works as expected.
Benefits
Flexibility: This feature will allow users to dynamically set the log level at build time, offering greater flexibility for different environments (e.g., development, staging, production).
Convenience: It simplifies the process of changing log levels without needing to alter the source code directly.
The text was updated successfully, but these errors were encountered:
Description
This feature request is to utilize a build option in
build.zig
to set the log level dynamically. Currently, thebuild.zig
file includes the following code snippet:This code suggests an intention to allow the user to specify a log level at build time, but it seems this functionality is not fully implemented or utilized.
Suggested Implementation
Benefits
The text was updated successfully, but these errors were encountered: