# ログ機能

`Windows` `macOS` `Linux` `RasPi`&#x20;

TWELITE 無線マイコンとのシリアル通信のログを記録することができます。

### ログの開始&#x20;

Alt(Cmd)+Lキーを押します。

![](/files/-MJRpPI5kgvpnIosu5MB)

### ログ記録の終了

ログ記録中にもう一度 Alt(Cmd) + L キーを押します。

![](/files/-MJRq8NVn51GiijeM-Gh)

ログの記録が終了し、その時のログファイルがOS標準の方法(Windowsならメモ帳、macOS ならコンソール)で開かれます。

※ RaspberryPi ではログファイルの保存のみで開く機能はありません。

### ログの記録

TWELITE 無線マイコンから受信した文字列→そのまま記録されます

TWELITE 無線マイコンに送信した文字列→１文字ずつWindowsの場合は `｢ ｣`macOS/Linux/RaspBerryPiは `« »` で囲って記録します。

例えば`«t»`とある場合はキーボードから`t`を入力したことを意味します。

### ログ記録のフォルダとファイル名

`Windows` `macOS` `Linux`

{TWELITE STAGE APP の実行形式のあるフォルダ}/log にログ開始時の日時を元にしたファイル名で保存されます。

Alt(Cmd)+Shift+L を押すことで、そのフォルダを開きます。

![](/files/-MJRr6B_OZu7_JEFcFZp)


---

# 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/1.0-1/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.
