Interface: LoggerLinkOptions<TRouter>
Type parameters
Parameter |
---|
TRouter extends AnyRouter |
Properties
colorMode
optional
colorMode:ColorMode
Color mode
Default
ts
typeof window === 'undefined' ? 'ansi' : 'css'
ts
typeof window === 'undefined' ? 'ansi' : 'css'
Source
packages/client/src/links/loggerLink.ts:65
console
optional
console:ConsoleEsque
Used in the built-in defaultLogger
Source
packages/client/src/links/loggerLink.ts:60
enabled
optional
enabled:EnabledFn
<TRouter
>
Source
packages/client/src/links/loggerLink.ts:56
logger
optional
logger:LoggerLinkFn
<TRouter
>
Source
packages/client/src/links/loggerLink.ts:55
withContext
optional
withContext:boolean
Include context in the log - defaults to false unless colorMode
is 'css'
Source
packages/client/src/links/loggerLink.ts:70
Generated using TypeDoc and typedoc-plugin-markdown