Class GrpcLogging

java.lang.Object
io.deephaven.util.GrpcLogging

public final class GrpcLogging
extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • setupFromBooleanProperty

      public static void setupFromBooleanProperty​(String property, boolean defaultValue, String shadowPath)
      Setup gRPC log bridging to the iris logging system, according to the value for the provided property name, with the given default. As we shadow gRPC dependencies, and we have more than one shadow, the caller needs to specify the shadowed path.
      Parameters:
      property - A property name whose value as a boolean will define how bridging is done. true means use "all", false means use DEFAULT_NON_ALL_LEVEL.
      defaultValue - Default boolean value in case the property is not set.
      shadowPath - The shadow path prefix, up to and excluding any trailing io.grpc.X components. Eg, if the full path to shadowed class X is "A.B.C.io.grpc.X", shadowPath should be "A.B.C".