AnneKitsune/anne_log
Simple scoped zig file logger
This is a minimalist scoped logger. It is opiniated in design:
info
and err
. Info is for general information and what would be considered "warnings". It is also for recoverable errors. Err is for errors where unexpected loss of functionality occurs.var logger = try Log.init(.{});
defer logger.deinit();
const root_scope = logger.scope("root");
root_scope.info("abc", .{});
root_scope.err("some mean error", .{});