embark/packages/plugins/transaction-logger
emizzle 5843a8e03e fix(@embark/transaction-logger): Circular JSON log and unknown contract log level
## Issue
Transaction logs for contracts that were unknown to Embark (ie not in the dapp) would often log super large objects (filling the terminal) that were not formatted with spaces so were hard to read without actually be that useful. In addition, occasionally the object logged would throw the error `TypeError: Converting circular structure to JSON`.

## Fix
Set the log level for transaction logs that are not from a known contract to `debug`, so that they do not flood the terminal with often usused information.

Use `util.inspect` to print the transaction log instead of `JSON.stringify` to prevent circular structure errors.
2020-01-09 11:34:43 -05:00
..
src fix(@embark/transaction-logger): Circular JSON log and unknown contract log level 2020-01-09 11:34:43 -05:00
.npmrc move rest of the packages to their logical folders (#1886) 2019-09-07 15:45:25 -04:00
CHANGELOG.md chore(release): 5.0.0 2020-01-07 12:14:37 -06:00
README.md build: tidy up the monorepo in prep for v5.0.0-alpha.0 2019-10-01 13:29:53 -05:00
package.json chore(release): 5.0.0 2020-01-07 12:14:37 -06:00
tsconfig.json build: implement collective typecheck 2019-12-13 13:59:47 -05:00
tslint.json build: implement collective typecheck 2019-12-13 13:59:47 -05:00

README.md

embark-transaction-logger

Transaction listener and logger for Embark

Visit embark.status.im to get started with Embark.