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



On 31 Aug., 13:59, ap...@xxxxxxxxxxxxxxxxxx wrote:
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

You mean not to localize log messages or those on the GUI? Didn't
become clear to me. As I wrote, I tend not to localize the log
messages, but those seen on the GUI.

Karsten

.



Relevant Pages

  • Re: Mandatory component class instantiation ...
    ... Well, we did considered that option, but how would you localize the custom ... The display name of the component ... >> would be great but we can't add static method to interface IOurInterface. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: When to log? (best practices and localization)
    ... display it in a text component? ... would the best practice be to ... localize those messages? ... this is normal interaction and is separate from logging. ...
    (comp.lang.java.help)
  • Re: help in GUI of matlab7
    ... > can any one help me with simple example to make GUI that i can read ... > value and display result in another place of that GUI,how i can ... practice. ...
    (comp.soft-sys.matlab)