#Is there a log expression function in std?

1 messages · Page 1 of 1 (latest)

stiff shore
#

The implementation goes like this: ```rs
fn dbg(any: anytype) @TypeOf(any) {
std.debug.print("{any}\n", .{any});
return any;
}

junior coyote
#

no

#

just call std.debug.print

#

or use things under std.log

eager yacht
#

std.debug.print is, well, for debugging purposes, use the std.log namespace for proper logging