Class SpanLogTracingConfig


  • public abstract class SpanLogTracingConfig
    extends Traceable
    Configuration of a single log event in a traced span.
    • Constructor Detail

      • SpanLogTracingConfig

        protected SpanLogTracingConfig​(String name)
        A new span log.
        Parameters:
        name - name of the span log
    • Method Detail

      • builder

        public static SpanLogTracingConfig.Builder builder​(String name)
        Fluent API builder to create a new traced span log configuration.
        Parameters:
        name - name of the span log
        Returns:
        a new builder instance
      • create

        public static SpanLogTracingConfig create​(String name,
                                                  Config config)
        Create a new traced span log configuration from Config.
        Parameters:
        name - name of the span log
        config - config for a traced span log
        Returns:
        a new traced span log configuration