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/src/links/loggerLink.ts:72
console?
optional
console:ConsoleEsque
Used in the built-in defaultLogger
Defined in
packages/client/src/links/loggerLink.ts:67
enabled?
optional
enabled:EnabledFn
<TRouter
>
Defined in
packages/client/src/links/loggerLink.ts:63
logger?
optional
logger:LoggerLinkFn
<TRouter
>
Defined in
packages/client/src/links/loggerLink.ts:62
withContext?
optional
withContext:boolean
Include context in the log - defaults to false unless colorMode
is 'css'