ログを表示する
Viewer State Browserを開く。ウインドウにログが表示される。

self.log()を使う。
# 座標の値を調べる
self.log(position)
型を調べる
変数の型を調べるにはtype()を使う。
self.log(type(variable))
self.log(variable.__class__.__name__)
プロパティや関数を調べる
オブジェクトのプロパティや関数を調べる場合はdir()を使う。
self.log(dir(device))