forge-std
forge-std copied to clipboard
feat: add a log helper library to easily log entire structs directly
This is meant to be a placeholder draft PR to discuss a file which allows the logging of the entire struct.
This adds a log(name: String) function to all the structs defined in forge-std so that they can easily be logged to the console during testing.
by adding using forgeStdLogHelper for *;
to a test file, any struct returned by a forge-std file can be logged to the console by calling someStruct.log("someStruct");