Explictly define log level ordering

This was technically undefined before.
This commit is contained in:
Isaac Freund
2020-03-29 21:13:36 +02:00
parent 5e84d69237
commit 5020106b93

View File

@ -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;