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  argu-
     ment  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 out-
	    put log, other characters will be replaced with a whitespace.

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

MISUSE
     function warning0()
	   warning(nil);
     end

system				   August 2026			      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.1.quarterly>

home | help