# Logging function

`Windows` `macOS` `Linux` `RasPi`

TWELITE Allows logging of serial communications with a wireless microcontroller.

### Start Logging

`Windows` `macOS` `Linux` `RasPi`

Allows logging of serial communications with the TWELITE radio microcontroller.

Press Alt(Cmd)+L key.

![](https://3064865302-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK1URxLSiu5956Gx1skRh%2Fuploads%2Fgit-blob-ce02b2e3c310b13adeeab953e81e3bfdb089e748%2Fimg_help_ovrly.png?alt=media)

### Ending logging

Press Alt(Cmd) + L again during logging.

![](https://3064865302-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK1URxLSiu5956Gx1skRh%2Fuploads%2Fgit-blob-e0c451357d2f89c9cba8d9765586c0bc6dff3f94%2Fimage%20\(38\).png?alt=media)

Logging will finish and the log file will be opened in the OS standard way (Notepad for Windows, Console for macOS).

RaspberryPi only saves the log file and does not have the ability to open it.

### Logging

String received from the TWELITE radio microcontroller → Logged as is

TWELITE Character string sent to the wireless microcontroller → Each character is enclosed by `" "` for Windows, `" "` for macOS/Linux/RaspBerryPi. "`"` to record the characters.

For example, `"t"` means you entered `t` from the keyboard.

### Logging folder and file name

`Windows` `macOS` `Linux` `RasPi`

The file will be saved in `{Folder with TWELITE STAGE APP executable}/log` with a file name based on the date and time when the logging started.

Press `Alt(Cmd)`+`Shift`+`L` to open that folder.

![](https://3064865302-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK1URxLSiu5956Gx1skRh%2Fuploads%2Fgit-blob-712dd314edc5cb4cca68bd643f3687e73ff8f485%2Fimage%20\(39\).png?alt=media)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stage.twelite.info/eng/usage/logging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
