UNPKG
@reclaimprotocol/tls
Version:
latest (0.1.2)
0.1.2
0.1.0
0.0.8
0.0.6
0.0.4
0.0.2
0.0.1
TLS 1.2/1.3 for any JavaScript Environment
github.com/reclaimprotocol/tls/
@reclaimprotocol/tls
/
lib
/
types
/
logger.d.ts
7 lines
(6 loc)
•
167 B
TypeScript
View Raw
1
2
3
4
5
6
7
type
LogLevel
=
'debug'
|
'info'
|
'warn'
|
'error'
|
'trace'
;
type
LogFn
=
(
...
args
:
any
[]
) =>
void
;
export
type
Logger
= { [L
in
LogLevel
]:
LogFn
; };
export
{};