# server.Server.toString

- **Module:** server.Server
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/server.ts#L309
- **Page:** https://libtmux.org/reference/ts/server-server-tostring/

```
server.Server.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.
