eva/3 Application BuilderDeveloping eva/3 ApplicationsWorking with FormsStandard BeansSLogger 

System Handler

System handler are pre defined handlers for error events that can be inserted in the SLogger component:

Handler Description Parametesr
MessageBoxHandler

Issues the error in a message dialog

  • Print Stacktrace*: Has this parameter the value true, the stacktrace of the error, when available, will be shown in the message dialog. Has this property the valuefalse, no stacktrace will be shown in the message dialog.
  • Max. Characters: Defines the maximum number of characters, after wich a line wrap occurs. A line wrap only occours at a blank character. Line wrapping inside of words are never done. Has the parameter the value 0, so a standard value of 160 will be used.
  • Max. rows:Defines the maximum number of rows, that will be displayed by the message dialog. All signes over that value will not be shown. this includes the display of the stacktrace in the message dialog. A too small value can affect the completeness of error messages. Has the parameter the value 0, the default value of 80 rows will be used
LogfileHandler

Issues the error in a file.

  • Logfilepath: The logfilepath decides about the file path, where the log file should be written. Is the choosen path not available, the entry root.dir will be used. The following path values are available:
    • user.home: The home directory of the current user.
    • user.dir: The current user work directory.
    • java.home: The Java Installation directory
    • root.dir: The root directory. At Unix operation systems, the directory/. At Windows, the first available drive after the drive A:\ or, when available, the drive B:\ will be used.
    • env.logdir: The directory that will be set by the system enviroemnt variable logdir
  • Filename: The name of the log file. When this value is not set, the filename eva3Application.log will be used.
  • Formatter*: The formatter decides about the output format of the logfile. The following output formats are available:
    • Einfach: Unformatted text file.
    • XML: Formats the error output in standard XML-Format. Therefor the Java class java.util.logging.XMLFormatter will be used.
    • HTML: Formats the error output in HTML-Format.

With * marked parameters are mandatory declaration. All other declaration are optional. Optional fields can be empty.