

# LoggerResponseEventData

<div class="api-docs__separator" data-reactroot="">

---

</div><div class="api-docs__import" data-reactroot="">

```ts
import { LoggerResponseEventData } from "@hyper-fetch/core"
```

</div><div class="api-docs__section">

## Description

</div><div class="api-docs__description"><span class="api-docs__do-not-parse">



</span></div><p class="api-docs__definition">

Defined in [managers/logger/logger.manager.types.ts:30](https://github.com/BetterTyped/hyper-fetch/blob/c44d728f/packages/core/src/managers/logger/logger.manager.types.ts#L30)

</p><div class="api-docs__section">

## Preview

</div><div class="api-docs__preview type">

```ts
type LoggerResponseEventData<AdapterType> = {
  details: ResponseDetailsType; 
  request: RequestInstance; 
  requestId: string; 
  response: ResponseReturnType<unknown, unknown, AdapterType>; 
}
```

</div><div class="api-docs__section">

## Structure

</div><div class="api-docs__returns">

```ts
{
  details: {
    isCanceled: boolean;
    isOffline: boolean;
    retries: number;
    timestamp: number;
  };
  request: Request<any, any, any, any, any, any, BaseAdapterType<any, any, any, any, any>, any, any, any>;
  requestId: string;
  response: {
    additionalData: T extends BaseAdapterType<any, any, any, infer A, any> ? A : never | null;
    data: GenericDataType | null;
    error: GenericErrorType | null;
    isSuccess: boolean;
    status: T extends BaseAdapterType<any, any, infer S, any, any> ? S : never | null;
  };
}
```

</div>