debug()function
Convert any unknown value into a readable debug string.
debug(value: unknown, depth = 1): string
Convert any unknown value into a readable debug string.
debug(value: unknown, depth = 1): string
Convert a string into a quoted, escaped debug string.
debugString(value: string): string
Convert a set of Headers into a debug string.
debugHeaders(headers: Headers): string
Debug a full Request as a string including its body.
debugFullRequest(request: Request): Promise<string>
Debug a full Response as a string including its headers and body.
debugFullResponse(response: Response): Promise<string>
Convert a Request into a one-line debug string.
debugRequest(request: Request): string
Convert a Response into a one-line debug string.
debugResponse(response: Response): string
Convert an array into a readable debug string.
debugArray(value: ImmutableArray, depth = 1): string
Convert a Set into a readable debug string.
debugSet(value: ImmutableSet, depth = 1): string
Convert a Map into a readable debug string.
debugMap(value: ImmutableMap, depth = 1): string
Convert an object into a readable debug string.
debugObject(value: object, depth = 1): string
Indent a string for nested debug output.
indent(str: string): string