From c8a8b851d8e0622559f71843a206a0e6e601cd83 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Tue, 13 Mar 2018 18:06:02 -0700 Subject: Consolidate all console.log into the @0xproject/utils package --- packages/utils/src/index.ts | 1 + packages/utils/src/log_utils.ts | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 packages/utils/src/log_utils.ts (limited to 'packages/utils') 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 + }, +}; -- cgit v1.2.3