Skip to content

Commit 8d02fa0

Browse files
committed
Specify default values in types
1 parent 7f04bd4 commit 8d02fa0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: packages/logger/src/types/Logger.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -184,19 +184,20 @@ type LogBufferOption = {
184184
* Whether logs should be buffered
185185
*/
186186
enabled?: boolean;
187-
188187
/**
189188
* Maximum size of the buffer in bytes
190189
* @default `20480`
191190
*/
192191
maxBytes?: number;
193192
/**
194193
* Flush the buffer when an error is logged
194+
* @default `true`
195195
*/
196196
flushOnErrorLog?: boolean;
197197
/**
198198
* The threshold to buffer logs. Logs with a level below
199199
* this threshold will be buffered
200+
* @default `'DEBUG'`
200201
*/
201202
bufferAtVerbosity?: Omit<
202203
LogLevel,

0 commit comments

Comments
 (0)