From 288f88dfb6c1c42e7eeef2ad3ae6c95ebb328371 Mon Sep 17 00:00:00 2001 From: Simon Hartcher Date: Tue, 29 Apr 2025 17:08:17 +1000 Subject: [PATCH] chore: use scoped log --- src/xml_shaper.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xml_shaper.zig b/src/xml_shaper.zig index c23a56f..098305b 100644 --- a/src/xml_shaper.zig +++ b/src/xml_shaper.zig @@ -380,7 +380,7 @@ fn parseInternal(comptime T: type, element: *xml.Element, options: ParseOptions) if (ptr_info.child != u8) { const array_style = try detectArrayStyle(ptr_info.child, element, options); - std.log.debug("type = {s}, style = {s}, ptr_info.child == {s}, element = {s}", .{ @typeName(T), @tagName(array_style), @typeName(ptr_info.child), element.tag }); + log.debug("type = {s}, style = {s}, ptr_info.child == {s}, element = {s}", .{ @typeName(T), @tagName(array_style), @typeName(ptr_info.child), element.tag }); var children = std.ArrayList(ptr_info.child).init(allocator); defer children.deinit();