Debug Mode (PriceSettingConfig)

This configuration represents several rows of the PriceSettingConfig Price Parameter. It allows users to add their own log messages and thus makes it easier to troubleshoot issues and better understand the package. All messages should be well formatted and as informative as possible for the users.

Feature Setting

Allows the user to enable or disable the debug mode.

Column

Value

Description

Column

Value

Description

Key

Debug Mode

 

Condition

Debug

 

Type

OFF/ON

  • OFF – Disables the debug mode. This is the default value.

  • ON – Enables the debug mode.

Default Setting

This is the default setting for all modules, it is used if the module is missing or the value Type is empty.

Column

Value

Description

Column

Value

Description

Key

Default

 

Condition

Debugger

 

Type

  • NONE

  • LOG

  • TRACE

  • ALL

  • NONE – Debug mode is off.

  • LOG – Shows logs using api.logInfo().

  • TRACE – Shows logs using api.trace().

  • ALL – Shows logs using api.logInfo() and api.trace(). This is the default value.

Module Setting

Column

Value

Description

Column

Value

Description

Key

Module name

  • Warning Manager

  • Lookup Tracer

  • Engine Calculator

  • Custom

  • Config Manager

Condition

Debugger

 

Type

  • NONE

  • LOG

  • TRACE

  • ALL

  • NONE – Debug mode is off, it is not overridden from Default Setting.
    If we set Type = null, it will be overridden by Default Setting.

  • LOG – Shows logs using api.logInfo().

  • TRACE – Shows logs using api.trace().

  • ALL – Shows logs using api.logInfo() and api.trace(). This is the default value.

Â