mach: wasm: Use default log level
This commit is contained in:
parent
81e6de55f8
commit
34514699a1
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ export fn wasmDeinit() void {
|
|||
app.deinit(&core);
|
||||
}
|
||||
|
||||
pub const log_level = if (@hasDecl(App, "log_level")) App.log_level else .info;
|
||||
pub const log_level = if (@hasDecl(App, "log_level")) App.log_level else std.log.default_level;
|
||||
pub const scope_levels = if (@hasDecl(App, "scope_levels")) App.scope_levels else [0]std.log.ScopeLevel{};
|
||||
|
||||
const LogError = error{};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue