This functionality is only available for certain module packages.

You are here: Reference > SCRIPTING > General methods > When to log, and when to use the UserMessageCollector?

When to log, and when to use the UserMessageCollector?

Logging adds information to the log file, e.g., “Database connection to xy database established successfully”.

However, the UserMessageCollector (UMC) can do more than that. The UMC logs all messages, and outputs information to the user in the form of a message window. This allows the user to react to messages. As well, the UMC can query errors that occurred (hasErrors).

When to use the UMC?

When not to use the UMC?