---
title: prefix
framework: combine
role: symbol
role_heading: Instance Property
path: combine/publishers/print/prefix
---

# prefix

A string with which to prefix all log messages.

## Declaration

```swift
let prefix: String
```

## See Also

### Inspecting publisher properties

- [upstream](combine/publishers/print/upstream.md)
- [stream](combine/publishers/print/stream.md)
