Annotation Interface AutoLogOutput


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface AutoLogOutput
Automatically record the field or method as an output. Check the documentation for details.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether or not to force the Logger to use a serialized data method.
    The key to use when logging the field or method.
    The unit to save as metadata, used when visualizing the field in AdvantageScope.
  • Element Details

    • key

      String key
      The key to use when logging the field or method. Use {...} to reference constant fields for disambiguation.
      Returns:
      The value of the key parameter.
      Default:
      ""
    • forceSerializable

      boolean forceSerializable
      Whether or not to force the Logger to use a serialized data method.
      Returns:
      Whether or not to force the Logger to use a serialized data method.
      Default:
      false
    • unit

      String unit
      The unit to save as metadata, used when visualizing the field in AdvantageScope.
      Returns:
      The value of the unit parameter.
      Default:
      ""