Boks SDK Documentation - v0.0.11
Preparing search index...
BoksLogger
Type Alias BoksLogger
BoksLogger
:
<
K
extends
keyof
BoksLogEvents
>
(
level
:
"info"
|
"warn"
|
"error"
|
"debug"
,
event
:
K
,
context
:
BoksLogEvents
[
K
]
,
)
=>
void
Logging function signature for the BoksClient. Ensures the context data matches the event type.
Type Declaration
<
K
extends
keyof
BoksLogEvents
>
(
level
:
"info"
|
"warn"
|
"error"
|
"debug"
,
event
:
K
,
context
:
BoksLogEvents
[
K
]
,
)
:
void
Type Parameters
K
extends
keyof
BoksLogEvents
Parameters
level
:
"info"
|
"warn"
|
"error"
|
"debug"
event
:
K
context
:
BoksLogEvents
[
K
]
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Boks SDK Documentation - v0.0.11
Loading...
Logging function signature for the BoksClient. Ensures the context data matches the event type.