UNPKG
@arpinum/log
Version:
latest (7.0.1)
7.0.1
7.0.0
6.1.2
6.1.1
6.1.0
6.0.0
5.4.0
5.3.4
5.3.3
5.3.2
5.3.1
5.3.1-dev.1
5.3.0
5.2.0
5.1.0
5.0.1
5.0.0
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.0
3.0.0
2.0.0
1.0.0
Simple module to log on stdout or stderr
github.com/arpinum-oss/js-log
arpinum-oss/js-log
@arpinum/log
/
build
/
console.d.ts
9 lines
(8 loc)
•
219 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
export
type
ConsoleOut
=
(
...
args
:
unknown
[]
) =>
void
;
export
interface
Console
{
debug
?:
ConsoleOut
;
log
:
ConsoleOut
;
warn
?:
ConsoleOut
;
error
?:
ConsoleOut
; }
export
type
ConsoleMethod
= keyof
Console
;