Skip to main content
Version: 10.x

Interface: LoggerLinkOptions<TRouter>

Type parameters

Parameter
TRouter extends AnyRouter

Properties

colorMode

optional colorMode: "ansi" | "css"

Color mode

Default

ts
typeof window === 'undefined' ? 'ansi' : 'css'
ts
typeof window === 'undefined' ? 'ansi' : 'css'

Source

packages/client/src/links/loggerLink.ts:63


console

optional console: ConsoleEsque

Used in the built-in defaultLogger

Source

packages/client/src/links/loggerLink.ts:58


enabled

optional enabled: EnabledFn< TRouter >

Source

packages/client/src/links/loggerLink.ts:54


logger

optional logger: LoggerLinkFn< TRouter >

Source

packages/client/src/links/loggerLink.ts:53


Generated using TypeDoc and typedoc-plugin-markdown