LoggerSink [deprecated]
Last updated
Last updated
LoggerSink is a device-independent manner of displaying messages to the user from any layer of the system, including Business Objects.
If the call is done within the client-application (e.g. Neo), the messages are displayed in the lower status bar and, according to the Severity, they can appear as temporary popups of different colors. If the call is done within the server-application (e.g. a server-function), the LoggerSink messages are written to a log file. In the case of the web-framework, the messages are being displayed similarily to Neo, on the user interface.
LoggerSink Severity:
Severity.Information: used to display low-priority messages. Used by the framework to notify the user that a module has been opened. Can be used to notify the user that a process has started
Severity.Confirmation: an important action has been finalized. Can be used to notify that the module has successfully saved, or that a business-process has successfully ended
Severity.Warning: used to warn the user that the data may be incorrect/inconsistent. Can be used to notify that the warehouse goes into negative, that some information was not provided upon saving but the save still continues. Not to be confused with an error display. Warnings should state that the process conditions have been partially fulfilled, but that the action has been continued nonetheles
Severity.Exception: a business error has occurred. The module could not save, there has been an error with the transaction, we got an unexpected exception, etc
Severity.Critical: should not be normally used. Normally used by the framework for when the system arrives in an inconsistent state