This is a third-party plugin. Please report issues in its Github Repository
console.log imports and calls from Solidity source code.
This plugin is intended in part to keep version-controlled code free of log statements. To remove logs from compiled contracts while preserving them in source code, see buidler-preprocessor.
yarn add --dev buidler-log-remover
Load plugin in Buidler config:
Run the Buidler task manually:
yarn run buidler remove-logs
Before removing logs, the plugin will ensure that all contracts can be compiled successfully.
Run the unit tests with Mocha:
yarn run mocha