mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-09 21:35:58 +00:00
f0aed55319
This will allow users to generated deploy hook specific output using the supplied `logger` within deployment hooks. The logger will generate an output a la: ``` ContractName > deploymentHook > Output ``` and ``` afterDeploy > Output ``` respectively. E.g. an `onDeploy` hook config like this: ``` contracts: { SimpleStorage: { fromIndex: 0, args: [100], onDeploy: (context) => { context.logger.log('Hello from on deploy'); } } } ``` Will output: ``` SimpleStorage > onDeploy > Hello from on deploy ```