> ## Documentation Index
> Fetch the complete documentation index at: https://docs.less.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Logging

> Send logs, warnings, and errors from your script back to Less.

```python theme={null}
less.log("Connected to Less")
less.info("Fetched 12 rows")
less.debug("Request payload accepted")
less.warning("Missing optional column")
less.error("Could not fetch rates")                 # stops the script
less.error("Non-fatal issue", continue_on=True)     # logs and continues
less.warning("Stop here", continue_on=False)        # stops the script
```

Each call takes a **message**. `warning` continues by default. `error` stops the script unless you pass `continue_on=True`. Stopping raises `less.LessException`.
