aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils/src
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-03-14 09:06:02 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-03-14 09:13:48 +0800
commitc8a8b851d8e0622559f71843a206a0e6e601cd83 (patch)
tree143e238a68005fdb0e0d82c6750ea890fec4021c /packages/utils/src
parentc2f8858aabad2355e09ba65e900202b7c4edec5e (diff)
downloaddexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.gz
dexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.zst
dexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.zip
Consolidate all console.log into the @0xproject/utils package
Diffstat (limited to 'packages/utils/src')
-rw-r--r--packages/utils/src/index.ts1
-rw-r--r--packages/utils/src/log_utils.ts5
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
+ },
+};