Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #804
| From | Ian Collins <ian-news@hotmail.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: How to implement diagnostic messages? |
| Date | 2011-09-09 10:33 +1200 |
| Message-ID | <9csu5sFn7mU1@mid.individual.net> (permalink) |
| References | <4e68c9ed$0$31290$a729d347@news.telepac.pt> |
On 09/ 9/11 01:58 AM, Rui Maciel wrote: > In some applications it's useful to have, at least in the development > stages, a way to output diagnostic messages in order to help developers > check what's happening under the hood. Yet, although this can be useful and > in some times even invaluable, there isn't much information on what are > considered to be good practices regarding the implementation of diagnostic > messages. That's because everyone has their favourite! > With this in mind, what are your views on how to implement diagnostic > messages? Are simple outputs to stderr enough or are there better ways to > handle this? You typically have three choices in a hosted environment: 1) standard output/error 2) a log file 3) system log All have their good and bad points and I've seen them all (especially 2 and 3) used by well regarded applications. -- Ian Collins
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to implement diagnostic messages? Rui Maciel <rui.maciel@gmail.com> - 2011-09-08 14:58 +0100
Re: How to implement diagnostic messages? BGB <cr88192@hotmail.com> - 2011-09-08 10:57 -0700
Re: How to implement diagnostic messages? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-09-08 20:53 +0100
Re: How to implement diagnostic messages? BGB <cr88192@hotmail.com> - 2011-09-08 14:14 -0700
Re: How to implement diagnostic messages? "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2011-09-09 09:30 +0200
Re: How to implement diagnostic messages? Rui Maciel <rui.maciel@gmail.com> - 2011-09-11 18:27 +0100
Re: How to implement diagnostic messages? BGB <cr88192@hotmail.com> - 2011-09-11 11:44 -0700
Re: How to implement diagnostic messages? Ian Collins <ian-news@hotmail.com> - 2011-09-09 10:33 +1200
Re: How to implement diagnostic messages? Rui Maciel <rui.maciel@gmail.com> - 2011-09-11 18:33 +0100
Re: How to implement diagnostic messages? James Waldby <not@valid.invalid> - 2011-09-10 00:17 +0000
Re: How to implement diagnostic messages? Rui Maciel <rui.maciel@gmail.com> - 2011-09-11 18:41 +0100
Re: How to implement diagnostic messages? BGB <cr88192@hotmail.com> - 2011-09-11 11:48 -0700
Re: How to implement diagnostic messages? Ian Collins <ian-news@hotmail.com> - 2011-09-12 08:47 +1200
Re: How to implement diagnostic messages? BGB <cr88192@hotmail.com> - 2011-09-11 14:56 -0700
Re: How to implement diagnostic messages? Ian Collins <ian-news@hotmail.com> - 2011-09-12 15:00 +1200
csiph-web