At Sun, 31 Mar 2019 05:13:45 -0700 (PDT), Darren Newton wrote:
> However, I would like to pass a jsexpr? to the logger [...]
> 
> As far as I can tell, the log procs only accept strings.

The primitive `log-message` function accepts arbitrary data for the
logged message after the message string. That data is communicated to
each log receiver.

The `log-info`, etc., macros currently support only a message string,
but you can create your own macro if that's helpful. If you know that
some receiver will exist a `log-level?` test as built into the existing
macros isn't helpful, and you might just as well call `log-message`
directly.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to