UNPKG
web-voice-detection
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A WebAssembly-powered Voice Activity Detection library for the browser.
web-voice-detection
/
dist
/
common
/
logging.d.ts
8 lines
(7 loc)
•
264 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
declare
const
LOG_PREFIX
=
"[DETECTION]"
;
declare
const
levels
:
readonly
[
"error"
,
"debug"
,
"warn"
];
type
Level
= (
typeof
levels)[
number
];
type
LogFn
=
(
...
args
:
any
) =>
void
;
type
Logger
=
Record
<
Level
,
LogFn
>;
export
declare
const
log
:
Logger
;
export
{};