diff options
Diffstat (limited to 'packages/utils/src')
-rw-r--r-- | packages/utils/src/index.ts | 1 | ||||
-rw-r--r-- | packages/utils/src/log_utils.ts | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/packages/utils/src/index.ts b/packages/utils/src/index.ts index 39dede41f..debcce746 100644 --- a/packages/utils/src/index.ts +++ b/packages/utils/src/index.ts @@ -4,3 +4,4 @@ export { classUtils } from './class_utils'; export { intervalUtils } from './interval_utils'; export { BigNumber } from './configured_bignumber'; export { AbiDecoder } from './abi_decoder'; +export { logUtils } from './log_utils'; diff --git a/packages/utils/src/log_utils.ts b/packages/utils/src/log_utils.ts new file mode 100644 index 000000000..d0f0e34c9 --- /dev/null +++ b/packages/utils/src/log_utils.ts @@ -0,0 +1,5 @@ +export const logUtils = { + log(...args: any[]): void { + console.log(...args); // tslint:disable-line:no-console + }, +}; |