Interface LogProviderRef


public sealed interface LogProviderRef
Log LogProvider Source.
  • Method Details

    • uri

      URI uri()
      URI of the log provider.
      Returns:
      uri not null.
    • keyOrNull

      @Nullable String keyOrNull()
      Property key from where the URI came from or null.
      Returns:
      property key.
    • of

      static LogProviderRef of(URI uri)
      Creates a log provider ref from URI.
      Parameters:
      uri - uri.
      Returns:
      ref.
    • of

      static LogProviderRef of(LogProperty.Result.Success<? extends URI> property)
      Create a provider ref from a property result.
      Parameters:
      property - successful URI result.
      Returns:
      provider ref.
    • of

      static LogProviderRef of(URI uri, @Nullable String key)
      Creates a log provider ref from URI.
      Parameters:
      uri - uri.
      key - property key where URI came from.
      Returns:
      ref.