Use std.log instead of log.zig

This commit is contained in:
foxfromabyss
2021-02-05 09:46:18 +01:00
committed by Isaac Freund
parent a8a70a3b04
commit 98d51f6d24
16 changed files with 127 additions and 249 deletions

View File

@ -22,13 +22,14 @@ const wayland = @import("wayland");
const wl = wayland.server.wl;
const zriver = wayland.server.zriver;
const log = @import("log.zig");
const util = @import("util.zig");
const Output = @import("Output.zig");
const View = @import("View.zig");
const ViewStack = @import("view_stack.zig").ViewStack;
const log = std.log.scoped(.river_status);
output: *Output,
output_status: *zriver.OutputStatusV1,
@ -63,7 +64,7 @@ pub fn sendViewTags(self: Self) void {
if (node.view.destroying) continue;
view_tags.append(node.view.current.tags) catch {
self.output_status.postNoMemory();
log.crit(.river_status, "out of memory", .{});
log.crit("out of memory", .{});
return;
};
}