|(require reporter)||package: reporter|
(struct Report ())
The report structure, all fields were private to avoid any hack based on this. report constructs this structure, directly print it would get report to stdout.
constructor of Report.
target points out where the hint are going to, msg is the hint message, color is the color of hint message.
(collect-report body ...)
This form works like most normal block like when, with its wrapping one can collect a raised Report, find a suitable level put it can help one report more error at once.
(current-report-collection reports) → void? reports : (listof Report)
This parameter stands for collecting report from collect-report, using it can get all reports current collected, with this one can simply print out all reports or do more operations on it.