| ... | ... | @@ -197,7 +197,7 @@ pub const Value = union(enum) { |
| 197 | 197 | |
| 198 | 198 | return Value{ .string = try arena.dupe(u8, value.string_value.items) }; |
| 199 | 199 | } else { |
| 200 | | log.err("Unexpected node type: {}", .{node.tag}); |
| 200 | log.debug("Unexpected node type: {}", .{node.tag}); |
| 201 | 201 | return error.UnexpectedNodeType; |
| 202 | 202 | } |
| 203 | 203 | } |
| ... | ... | @@ -270,7 +270,7 @@ pub const Value = union(enum) { |
| 270 | 270 | if (try encode(arena, elem)) |value| { |
| 271 | 271 | list.appendAssumeCapacity(value); |
| 272 | 272 | } else { |
| 273 | | log.err("Could not encode value in a list: {any}", .{elem}); |
| 273 | log.debug("Could not encode value in a list: {any}", .{elem}); |
| 274 | 274 | return error.CannotEncodeValue; |
| 275 | 275 | } |
| 276 | 276 | } |
| ... | ... | @@ -432,7 +432,7 @@ pub const Yaml = struct { |
| 432 | 432 | } |
| 433 | 433 | |
| 434 | 434 | const unwrapped = value orelse { |
| 435 | | log.err("missing struct field: {s}: {s}", .{ field.name, @typeName(field.type) }); |
| 435 | log.debug("missing struct field: {s}: {s}", .{ field.name, @typeName(field.type) }); |
| 436 | 436 | return error.StructFieldMissing; |
| 437 | 437 | }; |
| 438 | 438 | @field(parsed, field.name) = try self.parseValue(field.type, unwrapped); |