Interface ActiveTrace

    • Method Detail

      • startSubTrace

        ActiveTrace startSubTrace​(String label,
                                  Object... labelFormatArgs)
        Starts and returns a new sub-trace which will be the new active trace. It's generally recommended to call this method in a try-with-resource.
        Parameters:
        label - the label to use for this trace; may contain placeholders
        labelFormatArgs - the format arguments for the placeholders in the label
        Returns:
        the new active sub-trace
      • end

        void end()
        Ends this trace and all sub-traces.