[erlang-questions] Hijacking console output
Vlad Dumitrescu
vladdu55@REDACTED
Fri Nov 3 11:38:49 CET 2006
On 11/3/06, Vlad Dumitrescu <vladdu55@REDACTED> wrote:
> I would like to be able to redirect all console output to my own
> handler.
Following my other question about extending the io server, it came to
me that a simpler way to capture output (while one is already hacking
the io module) -- let io:format send the requests to both the normal
output driver and to the new handler.
This way, the intrusion is minimal. It could even be done without
hacking the io source, by using Smerl.
best regards,
Vlad
More information about the erlang-questions
mailing list