User Guide

Lua Support in Wireshark
209
11.13.2.2. format_date(timestamp)
Formats an absolute timestamp into a human readable date
11.13.2.2.1. Arguments
timestamp A timestamp value to convert.
11.13.2.2.2. Returns
A string with the formated date
11.13.2.3. format_time(timestamp)
Formats a relative timestamp in a human readable form
11.13.2.3.1. Arguments
timestamp A timestamp value to convert
11.13.2.3.2. Returns
A string with the formated time
11.13.2.4. report_failure(text)
Reports a failure to the user
11.13.2.4.1. Arguments
text Message
11.13.2.5. critical(...)
Will add a log entry with critical severity
11.13.2.5.1. Arguments
... objects to be printed
11.13.2.6. warn(...)
Will add a log entry with warn severity
11.13.2.6.1. Arguments
... objects to be printed
11.13.2.7. message(...)
Will add a log entry with message severity
11.13.2.7.1. Arguments
... objects to be printed