Fortinet white logo
Fortinet white logo
8.0.0

Core

Core

core.debug(level, fmt, ..)

Similar to debug() but allows you to specify the debug log level.

Example:

when HTTP_REQUEST 
	local host = HTTP:host()
	core.debug(6, "host = %s", host)
}

core.print(level, …)

Similar to print() but allows you to specify the debug log level.

Example:

when HTTP_REQUEST { 
	local host = HTTP:host()
	core.print(6, "host = ", host)
}

Core

Core

core.debug(level, fmt, ..)

Similar to debug() but allows you to specify the debug log level.

Example:

when HTTP_REQUEST 
	local host = HTTP:host()
	core.debug(6, "host = %s", host)
}

core.print(level, …)

Similar to print() but allows you to specify the debug log level.

Example:

when HTTP_REQUEST { 
	local host = HTTP:host()
	core.print(6, "host = ", host)
}