* Update log_error.md to include using ShowDebugOverlay to view logs * Update log_info.md to include using ShowDebugOverlay to view logs * Update log_warn.md to include using ShowDebugOverlay to view logs
768 B
768 B
title, tags
| title | tags | |||
|---|---|---|---|---|
| wezterm.log_warn |
|
wezterm.log_warn(arg, ..)
{{since('20210314-114017-04b7cedd')}}
This function logs the provided message string through wezterm's logging layer at 'WARN' level, which can be displayed via ShowDebugOverlay action. If you started wezterm 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 wezterm = require 'wezterm'
wezterm.log_warn 'Hello!'
{{since('20210814-124438-54e29167')}}
Now accepts multiple arguments, and those arguments can be of any type.