---
title: "Logger"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/logger-middleware/src/lib/logger.ts#L19"
---

# Logger

## Summary

Context key used to read the current request logger with `context.get(Logger)`.
The `logger()` middleware also installs the logger as `context.logger`.

## Signature

```ts
const Logger: { defaultValue?: LoggerFunction }
```