diff options
Diffstat (limited to 'src/main.zig')
-rw-r--r-- | src/main.zig | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main.zig b/src/main.zig index ef5efab..3a6a8c4 100644 --- a/src/main.zig +++ b/src/main.zig @@ -4,11 +4,9 @@ pub const PLUGIN_NAME = "Zig Plugin"; pub const LOG_NAME = "ZIGPLUGIN"; pub const DEPENDENCY_NAME = "ZigPlugin"; -pub const std_options = struct { - // Set the log level to info - pub const log_level = .info; - // Define logFn to override the std implementation - pub const logFn = @import("sys.zig").log; +pub const std_options = .{ + .logFn = @import("sys.zig").log, + .log_level = .info, }; comptime { |