Fortinet white logo
Fortinet white logo
8.0.0

Global

Global

debug(fmt, ..)

The function is the same as print(string.format(fmt, ..)).

The string will be printed to debug log with level 1.

Example
when HTTP_REQUEST {
    debug("This HTTP Request method is %s.\n", HTTP:method())
}

_id

This is the id of the proxyd worker running the lua stack.

Example
when HTTP_REQUEST {
    debug("id of the proxyd worker running the lua stack is %s.\n", _id)
}

_name

This is the name of the policy running the lua stack.

Example
when HTTP_REQUEST {
    debug("name of the proxyd worker running the lua stack is %s.\n", _name)
}

Global

Global

debug(fmt, ..)

The function is the same as print(string.format(fmt, ..)).

The string will be printed to debug log with level 1.

Example
when HTTP_REQUEST {
    debug("This HTTP Request method is %s.\n", HTTP:method())
}

_id

This is the id of the proxyd worker running the lua stack.

Example
when HTTP_REQUEST {
    debug("id of the proxyd worker running the lua stack is %s.\n", _id)
}

_name

This is the name of the policy running the lua stack.

Example
when HTTP_REQUEST {
    debug("name of the proxyd worker running the lua stack is %s.\n", _name)
}