Closed kxmpxtxnt closed 11 months ago
It's possible, but not currently built in. You can implement a TerminalInterface
that prints to whatever file you'd like in addition to stdout, then use your interface with the terminal like Terminal(terminalInterface=MyInterface()
.
For reference, here's the default interface that writes to stdout/stderr, and here's an interface that writes to memory instead of stdout
Hey, is it possible to inject/add a log appender for writing the messages in a log file?