Explictly define log level ordering
This was technically undefined before.
This commit is contained in:
parent
5e84d69237
commit
5020106b93
1 changed files with 4 additions and 4 deletions
|
@ -3,10 +3,10 @@ const std = @import("std");
|
||||||
pub const Log = enum {
|
pub const Log = enum {
|
||||||
const Self = @This();
|
const Self = @This();
|
||||||
|
|
||||||
Silent,
|
Silent = 0,
|
||||||
Error,
|
Error = 1,
|
||||||
Info,
|
Info = 2,
|
||||||
Debug,
|
Debug = 3,
|
||||||
|
|
||||||
var verbosity = Self.Error;
|
var verbosity = Self.Error;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue