User Tools

Site Tools


uphp:functions:log

Differences

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

Link to this comparison view

Next revision
Previous revision
uphp:functions:log [2017/05/04 12:22]
jeff created
uphp:functions:log [2021/09/13 05:57] (current)
Line 1: Line 1:
 ======log====== ======log======
  
-<badge>WMPRO FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>+<badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>
  
 Print to the System Log (or optional file) Print to the System Log (or optional file)
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html> 
-<html> +<span style="font-size:125%">log ( 
-<span style="font-size:125%"> +
-</html> +
-[[log]] ( +
-<html> +
 <span style="color:green">string <span style="color:green">string
 <span style="color:blue">$output <span style="color:blue">$output
Line 19: Line 15:
 <span style="color:blue">$file <span style="color:blue">$file
 <span style="color:black">] ) <span style="color:black">] )
-</html> +</html></well>
-</well>+
  
 This function places an entry in the default system log ''/logs/log.txt'' or in the specified <html><b><span style="color:blue">file<span style="color:black"></b></html>. This function places an entry in the default system log ''/logs/log.txt'' or in the specified <html><b><span style="color:blue">file<span style="color:black"></b></html>.
  
-====Parameter====+====Parameters====
  
 <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 place in the log file</html> <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 place in the log file</html>
Line 30: Line 25:
 <html><b><span style="color:blue">$file<span style="color:black"></b></html>:  Optional, log file name <html><b><span style="color:blue">$file<span style="color:black"></b></html>:  Optional, log file name
  
-====Return Value====+====Return Values====
  
 None None
Line 50: Line 45:
 [[error_reporting()]] - Set the debug output level [[error_reporting()]] - Set the debug output level
  
-[[print()]] - Output data to the current output stream such as a web page or terminal+[[print()]] - Print data to the current output stream such as a web page or terminal
  
uphp/functions/log.1493900564.txt.gz · Last modified: 2021/09/13 05:56 (external edit)