UNPKG
@graphprotocol/toolshed
Version:
fork1 (0.1.1)
latest (1.0.1)
next (0.0.1)
scratch-testnet-2 (0.1.2)
1.0.1
1.0.0
0.6.16
0.6.15
0.6.14
0.6.13
0.6.12
0.6.11
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.2
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
0.0.1
A collection of tools and utilities for the Graph Protocol Typescript components
@graphprotocol/toolshed
/
src
/
lib
/
logger.ts
10 lines
(6 loc)
•
260 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
debug
from
'debug'
const
LOG_BASE
=
'toolshed'
export
const
logDebug =
debug
(
`
${LOG_BASE}
:debug`
)
export
const
logWarn =
debug
(
`
${LOG_BASE}
:warn`
)
export
const
logError =
debug
(
`
${LOG_BASE}
:error`
)
export
const
logTxLogging =
debug
(
`
${LOG_BASE}
:tx`
)