mach: re-export log_level and scope_levels from App
This commit is contained in:
parent
e4cca0127e
commit
1b32552e73
2 changed files with 5 additions and 1 deletions
|
|
@ -8,6 +8,9 @@ const enums = @import("../enums.zig");
|
|||
const util = @import("util.zig");
|
||||
const c = @import("c.zig").c;
|
||||
|
||||
pub const scope_levels = if (@hasDecl(App, "scope_levels")) App.scope_levels else [0]std.log.ScopeLevel{};
|
||||
pub const log_level = if (@hasDecl(App, "log_level")) App.log_level else std.log.default_level;
|
||||
|
||||
pub const Platform = struct {
|
||||
window: glfw.Window,
|
||||
backend_type: gpu.Adapter.BackendType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue