@kismet.ts/shared / Exports / LogLevel
Interface: LogLevel
Table of contents
Properties
Properties
default
• Optional
default: boolean
Defined in
format
• Optional
format: (message
: string
) => string
Type declaration
▸ (message
): string
Parameters
Name | Type |
---|---|
message | string |
Returns
string
Defined in
handler
• Optional
handler: (message
: string
) => Promise
<void
| LogHandlerReturnType
>
Type declaration
▸ (message
): Promise
<void
| LogHandlerReturnType
>
Parameters
Name | Type |
---|---|
message | string |
Returns
Promise
<void
| LogHandlerReturnType
>
Defined in
prefix
• Optional
prefix: string
Defined in
stream
• Optional
stream: LogHandlerStream
Defined in
type
• type: string