Difference between revisions of "Logprint"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
(Created page with '{{ #vardefine:name|logprint}}{{ #vardefine:return_type|void}}{{ FunctionPage| name={{#var:name}}| function_category=Miscellaneous| function1={{Function| name={{#var:name}}| agg…')
 
imported>Bale
m
 
Line 5: Line 5:
 
FunctionPage|
 
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
function_category=Miscellaneous|
 
  
 
function1={{Function|
 
function1={{Function|
Line 23: Line 22:
 
cli_equiv=The CLI command "logprint" functions similarly (as well as other commands that also print to the CLI).|
 
cli_equiv=The CLI command "logprint" functions similarly (as well as other commands that also print to the CLI).|
 
}}
 
}}
 +
 +
[[Category:Miscellaneous Functions]]

Latest revision as of 05:30, 22 May 2010

needs(code_samples);

Function Syntax

void logprint(string log )

  • log is the text to add to your log

Adds the specified text log to your session log (prefixed with "> "). Useful for notes that you don't want cluttering up the CLI or data to be parsed from your session log at a later time.

CLI Equivalent

The CLI command "logprint" functions similarly (as well as other commands that also print to the CLI).

See Also

print() | print_html()