# StreamTransportConfig

`interface` in `services` · v0.8.2

<https://docs.seedcord.org/packages/services/0.8.2/interfaces/stream-transport-config>

Stream transport configuration.

Logs to any writable stream for custom destinations. Use this for logging to databases, network sockets, or custom handlers.

```ts
interface StreamTransportConfig extends BaseTransportConfig
```

## Properties

### format

```ts
format: LoggerFormatMode;
```

Output format mode

### level

```ts
level: LoggerLevel;
```

Minimum log level for this transport

### stream

```ts
stream: Writable;
```

Writable stream to log to

### stripAnsi

```ts
stripAnsi: boolean;
```

Whether to strip ANSI color codes from output

### type

```ts
type: "stream";
```

Transport type
