---
title: "DropletLogService, DroppyKit"
description: "Writes into Droppy&#x27;s own log stream, tagged with the droplet id."
canonical: "https://getdroppy.app/docs/droppykit/api/droplet-log-service"
last-updated: "2026-09-09"
---

# DropletLogService

Writes into Droppy's own log stream, tagged with the droplet id.

`@MainActor protocol DropletLogService : AnyObject`

Use this rather than `print`: a droplet runs inside Droppy, and `print` from an installed app goes nowhere a user or a reviewer can find it.

## Methods

### debug(_:)

`@MainActor func debug(_ message: String)`

Writes at `.debug`.

### error(_:)

`@MainActor func error(_ message: String)`

Writes at `.error`.

### info(_:)

`@MainActor func info(_ message: String)`

Writes at `.info`.

### log(_:_:)

`@MainActor func log(_ level: DropletLogLevel, _ message: String)`

Writes one line.

### notice(_:)

`@MainActor func notice(_ message: String)`

Writes at `.notice`.
