Interface DebugLogPublisherCfgClient

    • Method Detail

      • isDefaultDebugExceptionsOnly

        ValueOrExpression<Boolean> isDefaultDebugExceptionsOnly()
        Gets the "default-debug-exceptions-only" property.

        Indicates whether only logs with exception should be logged.

        Default value: false

        Returns:
        Returns the value of the "default-debug-exceptions-only" property.
      • setDefaultDebugExceptionsOnly

        void setDefaultDebugExceptionsOnly​(ValueOrExpression<Boolean> value)
                                    throws PropertyException
        Sets the "default-debug-exceptions-only" property.

        Indicates whether only logs with exception should be logged.

        Parameters:
        value - The value of the "default-debug-exceptions-only" property.
        Throws:
        PropertyException - If the new value is invalid.
      • isDefaultIncludeThrowableCause

        ValueOrExpression<Boolean> isDefaultIncludeThrowableCause()
        Gets the "default-include-throwable-cause" property.

        Indicates whether to include the cause of exceptions in exception thrown and caught messages logged by default.

        Default value: true

        Returns:
        Returns the value of the "default-include-throwable-cause" property.
      • setDefaultIncludeThrowableCause

        void setDefaultIncludeThrowableCause​(ValueOrExpression<Boolean> value)
                                      throws PropertyException
        Sets the "default-include-throwable-cause" property.

        Indicates whether to include the cause of exceptions in exception thrown and caught messages logged by default.

        Parameters:
        value - The value of the "default-include-throwable-cause" property.
        Throws:
        PropertyException - If the new value is invalid.
      • isDefaultOmitMethodEntryArguments

        ValueOrExpression<Boolean> isDefaultOmitMethodEntryArguments()
        Gets the "default-omit-method-entry-arguments" property.

        Indicates whether to include method arguments in debug messages logged by default.

        Default value: false

        Returns:
        Returns the value of the "default-omit-method-entry-arguments" property.
      • setDefaultOmitMethodEntryArguments

        void setDefaultOmitMethodEntryArguments​(ValueOrExpression<Boolean> value)
                                         throws PropertyException
        Sets the "default-omit-method-entry-arguments" property.

        Indicates whether to include method arguments in debug messages logged by default.

        Parameters:
        value - The value of the "default-omit-method-entry-arguments" property.
        Throws:
        PropertyException - If the new value is invalid.
      • isDefaultOmitMethodReturnValue

        ValueOrExpression<Boolean> isDefaultOmitMethodReturnValue()
        Gets the "default-omit-method-return-value" property.

        Indicates whether to include the return value in debug messages logged by default.

        Default value: false

        Returns:
        Returns the value of the "default-omit-method-return-value" property.
      • setDefaultOmitMethodReturnValue

        void setDefaultOmitMethodReturnValue​(ValueOrExpression<Boolean> value)
                                      throws PropertyException
        Sets the "default-omit-method-return-value" property.

        Indicates whether to include the return value in debug messages logged by default.

        Parameters:
        value - The value of the "default-omit-method-return-value" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getDefaultThrowableStackFrames

        ValueOrExpression<Integer> getDefaultThrowableStackFrames()
        Gets the "default-throwable-stack-frames" property.

        Indicates the number of stack frames to include in the stack trace for method entry and exception thrown messages.

        Default value: 2147483647

        Returns:
        Returns the value of the "default-throwable-stack-frames" property.
      • setDefaultThrowableStackFrames

        void setDefaultThrowableStackFrames​(ValueOrExpression<Integer> value)
                                     throws PropertyException
        Sets the "default-throwable-stack-frames" property.

        Indicates the number of stack frames to include in the stack trace for method entry and exception thrown messages.

        Parameters:
        value - The value of the "default-throwable-stack-frames" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getJavaClass

        @MandatoryProperty
        ValueOrExpression<String> getJavaClass()
        Gets the "java-class" property.

        The fully-qualified name of the Java class that provides the Debug Log Publisher implementation.

        Default value: org.opends.server.loggers.DebugLogPublisher

        Specified by:
        getJavaClass in interface LogPublisherCfgClient
        Returns:
        Returns the value of the "java-class" property.