log_warn

On this page
  1. wakterm.log_warn(arg, ..)

wakterm.log_warn(arg, ..)#

This function logs the provided message string through wakterm's logging layer at 'WARN' level, which can be displayed via ShowDebugOverlay action. If you started wakterm from a terminal that text will print to the stdout of that terminal. If running as a daemon for the multiplexer server then it will be logged to the daemon output path.

local wakterm = require 'wakterm'
wakterm.log_warn 'Hello!'

Now accepts multiple arguments, and those arguments can be of any type.

See also log_info and log_error.

Edit this page