Re: [racket-users] Loggers that don't prepend?

2018-11-27 Thread David Storrs
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:

Re: [racket-users] Loggers that don't prepend?

2018-11-26 Thread Greg Hendershott
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:

Re: [racket-users] Loggers that don't prepend?

2018-11-26 Thread David Storrs
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

Re: [racket-users] Loggers that don't prepend?

2018-11-26 Thread Shu-Hung You
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

[racket-users] Loggers that don't prepend?

2018-11-26 Thread David Storrs
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