Skip to content

Commit

Permalink
Always set enable_logs in development
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jul 2, 2024
1 parent f8e640c commit 2f0789a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/env.zig
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub const is_canary = BuildOptions.is_canary;
pub const canary_revision = if (is_canary) BuildOptions.canary_revision else "";
pub const dump_source = isDebug and !isTest;
pub const base_path = BuildOptions.base_path ++ "/";
pub const enable_logs = BuildOptions.enable_logs;
pub const enable_logs = BuildOptions.enable_logs or isDebug;

pub const version: std.SemanticVersion = BuildOptions.version;
pub const version_string = std.fmt.comptimePrint("{d}.{d}.{d}", .{ version.major, version.minor, version.patch });
Expand Down

0 comments on commit 2f0789a

Please sign in to comment.