Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
warning(3)			 Arcan Lua API			    warning(3)

NAME
       warning - Write a string	to the warning log output.

SYNOPSIS
       nil
       warning(	string:message )
       warning(	string:message,	bool:debug )

DESCRIPTION
       Log  a  message to the current system/debug log.	If the optional	debug
       argument	is set to true,	any attached debug  monitor  will  be  invoked
       with the	context. This can be used to source-inject breakpoints.

NOTES
       1      Only  [a-Z,.0-9] and whitespace characters will be passed	to the
	      output log, other	characters will	be replaced with a whitespace.

EXAMPLE
       function	warning0()
	     warning("warning test");
       end

MISUSE
       function	warning0()
	     warning(nil);
       end

system				 November 2025			    warning(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=warning&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help