Re: When to log? (best practices and localization)



On 31 Aug, 12:16, Karsten Wutzke <kwut...@xxxxxx> wrote:
What is the best way to implement a log window? Find the log file and
display it in a text component? Again, would the best practice be to
localize those messages? I tend to rather not doing it, as opposed to
messages displayed on the GUI...

Don't. Log to a file instead. There are plenty of third-party tools
that can examine logfiles and take appropriate configurable actions
based on their contents. If the app needs to report a user error then
this is normal interaction and is separate from logging.

-Andrew Marlow

.



Relevant Pages