# session.Session.toString

- **Module:** session.Session
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/session.ts#L463
- **Page:** https://libtmux.org/en/ts/latest/reference/session-session-tostring/

```
session.Session.toString() -> string
```

How this handle renders in a log line, a template literal, or an error.

Installed with the rest of the live-handle prototype, and declared here so
the emitted types advertise it and a caller's own lint does not report the
default `[object Object]`.
