---
title: "logMessage(_:)"
framework: fskit
role: symbol
role_heading: Instance Method
path: "fskit/fstask/logmessage(_:)"
---

# logMessage(_:)

Logs the given string to the initiating client.

## Declaration

```swift
func logMessage(_ str: String)
```

## Parameters

- `str`: The string to log.
