Interface: LoggerLinkOptions<TRouter>
Type Parameters
Type Parameter |
---|
TRouter extends AnyRouter |
Properties
colorMode?
optional
colorMode:ColorMode
Color mode
Default
ts
typeof window === 'undefined' ? 'ansi' : 'css'
ts
typeof window === 'undefined' ? 'ansi' : 'css'
Defined in
packages/client/dist/links/loggerLink.d.ts:41
console?
optional
console:ConsoleEsque
Used in the built-in defaultLogger
Defined in
packages/client/dist/links/loggerLink.d.ts:36
enabled?
optional
enabled:EnabledFn
<TRouter
>
Defined in
packages/client/dist/links/loggerLink.d.ts:32
logger?
optional
logger:LoggerLinkFn
<TRouter
>
Defined in
packages/client/dist/links/loggerLink.d.ts:31
withContext?
optional
withContext:boolean
Include context in the log - defaults to false unless colorMode
is 'css'
Defined in
packages/client/dist/links/loggerLink.d.ts:45