# server.Server.toString

- **Module:** server.Server
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/server.ts#L355
- **Page:** https://libtmux.org/en/ts/latest/reference/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.
