Skip to content

Printing to console

zeganstyl edited this page Sep 18, 2020 · 1 revision

Some platforms may not work correctly with println() (for example TeaVM), so Thelema provides LOG object for printing to console.

LOG.info("message to stdout")
LOG.error("message to stderr")

You can create your own implementation and replace LOG.proxy. You can make your log implementation printing not to console, but to file.

Clone this wiki locally