User Tools

Site Tools


uphp:functions:debug

Differences

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

Link to this comparison view

uphp:functions:debug [2017/04/12 12:54]
jeff
uphp:functions:debug [2021/09/13 05:57]
Line 1: Line 1:
-======debug====== 
- 
-<badge>WMPRO FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> 
- 
-Print to debug output 
- 
-====Description==== 
- 
-<well size="sm"> 
-<html> 
-<span style="font-size:125%"> 
-</html> 
-[[debug]] ( 
-<html>  
-<span style="color:green">string 
-<span style="color:blue">$output 
-<span style="color:black">) 
-</html> 
-</well> 
- 
-====Parameter==== 
- 
-<html><b><span style="color:blue">$output<span style="color:black"></b>:  A <b><span style="color:green">string<span style="color:black"></b> to output</html> 
- 
-====Return Value==== 
- 
-None 
- 
-====Example==== 
- 
-<code php> 
-<? 
-  debug("This is a debug message"); 
-  // this will appear on the serial port if connected to a console 
-?> 
-</code> 
- 
-====See Also==== 
- 
-[[how_tos:Serial Port Programming]] - Some information on connecting and using the serial ports 
- 
-[[debugout()]] - Enable or disable debug messages 
- 
-[[error_reporting()]] - Set the debug output level 
- 
-[[log()]] - Print to the System Log 
- 
-[[print()]] - Output data to the current output stream such as a web page or terminal 
  
uphp/functions/debug.txt · Last modified: 2021/09/13 05:57 (external edit)