StaticgetGenerates a report summarizing the contract execution history. This report includes total executions, success/failure counts, success rate, and stats per layer.
A JSON string representing the contract execution report.
StaticlogLogs the execution of a contract method. This method is active only in development environments.
The full name of the contract method (e.g., "UserService.createUser").
The layer of the application where the contract is applied.
The input arguments passed to the contract method.
Optionaloutput: anyThe output returned by the contract method (if successful).
Optionalerror: anyAny error that occurred during contract execution (if failed).
Provides debugging utilities for contract execution. It logs contract execution history and provides a summary report. This class is primarily intended for use in development environments.