Is there a way to have a logger that prints the message I give it without
modification? (i.e. without prepending the topic or anything else)
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving email
I think it depends on the code that logs the message, not the logger.
In the log-message function, the topic and the prefix-message?
arguments together control whether the message will be prefixed by the
topic and ": " or not.
On Mon, Nov 26, 2018 at 5:00 PM David Storrs wrote:
>
> Is there a way
On Mon, Nov 26, 2018 at 6:20 PM Shu-Hung You <
shu-hung@eecs.northwestern.edu> wrote:
> I think it depends on the code that logs the message, not the logger.
> In the log-message function, the topic and the prefix-message?
> arguments together control whether the message will be prefixed by th
make-log-receiver returns a synchronizable event; you start a thread
to loop and sync on that. Formatting and disposition is up to you.
1. Example from XREPL, displaying to stdout with `;` comment chars prepended:
https://github.com/racket/xrepl/blob/master/xrepl-lib/xrepl/xrepl.rkt#L1286-L130
Cool, thanks!
On Mon, Nov 26, 2018 at 11:20 PM Greg Hendershott
wrote:
> make-log-receiver returns a synchronizable event; you start a thread
> to loop and sync on that. Formatting and disposition is up to you.
>
> 1. Example from XREPL, displaying to stdout with `;` comment chars
> prepended:
>
5 matches
Mail list logo