[Mono-list] Diagnostic Messages

Jonathan Stowe gellyfish@gellyfish.com
Tue, 28 May 2002 06:55:28 +0100 (BST)


On Mon, 27 May 2002, Lawrence Pit wrote:
> Hi Jonathan,
>
> > Should the `DefaultTraceListener' do nothing, even though diagnostic
> > messages have been requested?  I should think not; it should do
> > something, otherwise it will look like it isn't working, leading to
> > annoyed developers.
>
> In my opinion mono on win32 systems would use OutputDebugString and on *nix
> systems this function would simply send its messages to /dev/null. It should
> not send it to console, as ms.net doesn't do that as well; you have to
> explicitely set that up in that case.
>
> As there's no debugging device on *nix systems, developers couldn't get
> annoyed as they couldn't have any expectations in this case. ;-)
>

Would there be any value in sending the messages to a FIFO or UNIX Domain
socket in (for instance ) /tmp/mono.debug - some enterprising programmer
could even provide a tool for reading the outout :)

/J\
-- 
Jonathan Stowe                      |
<http://www.gellyfish.com>          |      This space for rent
                                    |