Logprint

From Kolmafia
Revision as of 19:53, 9 March 2010 by 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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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()