0

Can I implement an ILogger that outputs to a console window?

My only thought is a console application that does a pass-through from Console.In to Console.Out which is started by the implementation, which would have to be a singleton instance...

Is there another, possibly simpler approach or is that the way to do it?

Note: I just remembered I solved this requirement way back in the day on a unix platform. It was to synchronously append to a text file, and then use tail -f on that file from a console...

Aaron Anodide
  • 16,594
  • 15
  • 60
  • 119
  • UnixUtils has tail.exe for windows too. You could still use the same code. – Candide Feb 14 '12 at 18:34
  • 1
    Checkout this posting Gabriel and see if it helps http://stackoverflow.com/questions/1765493/sending-input-getting-output-from-a-console-application-c-winforms for Tail -f use this link to do the same in C# http://www.codeproject.com/Articles/15422/linux-tail-f-Command-in-C-NET – MethodMan Feb 14 '12 at 18:35

0 Answers0