---
title: logger
---

# logger

<a href="https://github.com/remix-run/remix/blob/remix@3.0.0-alpha.6/packages/logger-middleware/src/lib/logger.ts#L67" target="_blank">View Source</a>

## Summary

Creates a middleware handler that logs various request/response info.

## Signature

```ts
function logger(options: LoggerOptions): Middleware;

```

## Params

### options

Options for the logger

## Returns

The logger middleware