Logging to STDOUT and to file

21 visualizações
Pular para a primeira mensagem não lida

David Storrs

não lida,
15 de jan. de 2020, 13:06:0715/01/2020
para Racket Users
At runtime I can use PLTSTDERR to specify which log messages are displayed to STDOUT.  Is there a way to specify at runtime *where* they should be logged?  That is, is there a built-in that does this:

PLTSTDERR="debug@the-logger error"  racket foo.rkt | tee foo.log

...except without using tee?  tee is interfering with my program for some reason, and if there's a simple way to resolve this then I'd rather not spend the time figuring out what's going on.
Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem