libera/#commonlisp - IRC Chatlog
Search
10:16:49
dim
hi there! so my latest changes to handling conditions in pgloader worked, thanks all who helped!
10:17:17
dim
now I would like to find if I can capure the compiler notes and choose to output them in debug mode only (see https://paste.debian.net/1249834/)
10:23:19
scymtym
dim: if you just want the textual output and not, say, the individual condition objects, you could bind *STANDARD-OUTPUT*, *ERROR-OUTPUT*, etc. to a string output stream around the COMPILE call to capture the output
10:23:50
dim
scymtym: yeah I think that capturing is something I do in other places in pgloader, and that'd be good enough to get started
10:39:17
dim
I though that would capture the output and return it as a string, but it doesn't (the output still gets printed in the slime buffer, and the return value is an empty string) ; and I can't remember how to do the capturing now, I have forgotten most of my CL it seems... help?