UNPKG
@loke/ipc
Version:
latest (1.1.0)
1.1.0
Inter-process/service communications lib
github.com/LOKE/loke-ipc
LOKE/loke-ipc
@loke/ipc
/
lib
/
console-logger.js
8 lines
(7 loc)
•
256 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
/* eslint-disable no-console */
module
.
exports
=
exports
= {
debug
:
console
.
log
.
bind
(
console
,
'debug:'
),
info
:
console
.
info
.
bind
(
console
,
'Info:'
),
warn
:
console
.
warn
.
bind
(
console
,
'WARNING:'
),
error
:
console
.
error
.
bind
(
console
,
'###ERROR###:'
) };