Keep your debug messages clear, useful, and not annoying. Why is it that people who add logging to their programs lack the creativity to differentiate their log messages? If they all say the same thing-for example, DEBUG-it's hard to tell what is going on, or even why the previous programmer added these statements in the first place.
展开▼