Apply suggestions from code review
Co-Authored-By: bnamasivayam <36455962+bnamasivayam@users.noreply.github.com>
This commit is contained in:
parent
91d859d791
commit
81e7c4ea4e
|
@ -166,7 +166,7 @@ struct TransactionInfo {
|
|||
};
|
||||
|
||||
struct TransactionLogInfo : public ReferenceCounted<TransactionLogInfo>, NonCopyable {
|
||||
enum LoggingLocation { DONT_LOG=0, TRACE_LOG = 1, DATABASE = 2 };
|
||||
enum LoggingLocation { DONT_LOG = 0, TRACE_LOG = 1, DATABASE = 2 };
|
||||
|
||||
TransactionLogInfo() : logLocation(DONT_LOG) {}
|
||||
TransactionLogInfo(LoggingLocation location) : logLocation(location) {}
|
||||
|
|
|
@ -170,11 +170,11 @@ description is not currently required but encouraged.
|
|||
hidden="true" />
|
||||
<Option name="debug_retry_logging" code="401" paramType="String" paramDescription="Optional transaction name" />
|
||||
<Option name="transaction_logging_enable" code="402" paramType="String" paramDescription="String identifier to be used in the logs when tracing this transaction. The identifier must not exceed 100 characters."
|
||||
description="Deprecated." />
|
||||
<Option name="debug_transaction_identifier" code="403" paramType="String" paramDescription="String identifier to be used in the case if this transaction is to be logged or profiled. The identifier must not exceed 100 characters."
|
||||
description="Set a client provided identifier for the transaction that will be used in scenarios like tracing or profiling. Client trace logging or transaction profiling must be separately enabled." />
|
||||
<Option name="log_transaction" code="404" paramType="String"
|
||||
description="Trace log this transaction. DEBUG_TRANSACTION_IDENTIFIER option must be set before using this option." />
|
||||
description="Deprecated" />
|
||||
<Option name="debug_transaction_identifier" code="403" paramType="String" paramDescription="String identifier to be used when tracing or profiling this transaction. The identifier must not exceed 100 characters."
|
||||
description="Sets a client provided identifier for the transaction that will be used in scenarios like tracing or profiling. Client trace logging or transaction profiling must be separately enabled." />
|
||||
<Option name="log_transaction" code="404"
|
||||
description="Enables tracing for this transaction and logs results to the client trace logs. The DEBUG_TRANSACTION_IDENTIFIER option must be set before using this option, and client trace logging must be enabled and to get log output." />
|
||||
<Option name="timeout" code="500"
|
||||
paramType="Int" paramDescription="value in milliseconds of timeout"
|
||||
description="Set a timeout in milliseconds which, when elapsed, will cause the transaction automatically to be cancelled. Valid parameter values are ``[0, INT_MAX]``. If set to 0, will disable all timeouts. All pending and any future uses of the transaction will throw an exception. The transaction can be used again after it is reset. Like all transaction options, a timeout must be reset after a call to onError. This behavior allows the user to make the timeout dynamic." />
|
||||
|
|
Loading…
Reference in New Issue