UNPKG
@computer-use/provider-interfaces
Version:
latest (4.2.0)
4.2.0
Public provider interfaces for @computer-use/nut-js
@computer-use/provider-interfaces
/
dist
/
lib
/
log-provider.interface.d.ts
10 lines
(9 loc)
•
295 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
type
LogFunction
=
(
message
:
string
,
data
?: {}
) =>
void
;
export
type
ErrorLogFunction
=
(
error
:
Error
,
data
?: {}
) =>
void
;
export
interface
LogProviderInterface
{
trace
:
LogFunction
;
debug
:
LogFunction
;
info
:
LogFunction
;
warn
:
LogFunction
;
error
:
ErrorLogFunction
; }