User Tools

Site Tools

한국어

logicpython:cubloc_api:setdebug

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
logicpython:cubloc_api:setdebug [2026/04/10 02:06] – created - external edit 127.0.0.1logicpython:cubloc_api:setdebug [2026/04/10 06:16] (current) – removed mfranklin
Line 1: Line 1:
-====== SetDebug ====== 
- 
-Enable or disable ''Debug'' output. 
- 
-===== Syntax ===== 
- 
-<code python> 
-from cubloc import SetDebug 
- 
-SetDebug(enabled: bool) 
-</code> 
- 
-===== Parameters ===== 
- 
-  * **enabled**: ''True'' for On, ''False'' for Off. 
- 
-===== Exceptions ===== 
- 
-  * [[https://docs.micropython.org/en/latest/library/builtins.html#TypeError|TypeError]]: ''enabled'' is not a bool. 
- 
-===== Example ===== 
- 
-<code python> 
-from cubloc import SetDebug 
- 
-# Example usage 
-SetDebug(True) 
-</code> 
- 
-===== Related APIs ===== 
- 
-  * [[logicpython:cubloc_api:debug|Debug]] 
-  * [[logicpython:cubloc_api:nop|Nop]] 
-  * [[logicpython:cubloc_api:setonglobal|SetOnGlobal]] 
-  * [[logicpython:cubloc_api:sys|Sys]] 
-  * [[logicpython:cubloc_api:time|Time]] 
  
logicpython/cubloc_api/setdebug.1775786799.txt.gz · Last modified: by 127.0.0.1