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 {
|
||||
const Self = @This();
|
||||
|
||||
Silent,
|
||||
Error,
|
||||
Info,
|
||||
Debug,
|
||||
Silent = 0,
|
||||
Error = 1,
|
||||
Info = 2,
|
||||
Debug = 3,
|
||||
|
||||
var verbosity = Self.Error;
|
||||
|
||||
|
|
Loading…
Reference in a new issue