# server.Server.toString

- **Module:** server
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/server.ts#L619
- **Page:** https://libtmux.org/en/ts/latest/reference/server-server-tostring/

```
toString(): string
```

How this server renders in a log line or an error.

A server is identified by the socket it talks to, so that is what the
description carries; without one the default rendering is `[object Object]`,
which says nothing about which of several servers a message is about.
