Annotation Type Logging


  • @Retention(RUNTIME)
    public @interface Logging
    Class annotation to provide metadata about logging strategy. The benchmark metrics will be written into the log file where this annotation points.

    Since:
    1.0.0
    Author:
    Erhan Bagdemir
    See Also:
    SimulationLogFormatter
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String file
      The path where benchmark metrics should be written.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<? extends SimulationLogFormatter> formatter
      Log formatter.
    • Element Detail

      • file

        java.lang.String file
        The path where benchmark metrics should be written.

        Returns:
        The path where to log.
      • formatter

        java.lang.Class<? extends SimulationLogFormatter> formatter
        Log formatter.

        Returns:
        Log formatter instance.
        Default:
        io.ryos.rhino.sdk.reporting.DefaultSimulationLogFormatter.class