Skip to main content
Version: 4.6.x.x LTS

Tracer object methods

The following applies to the methods listed below: Optionally, you can set an event string, with LUA events reserved for this purpose. For possible event strings, see nevisProxy Events.

MethodDescriptionSample
trace:debug(text) trace:debug(event, text)Prints a debug message in the navajo.log file.trace:debug("a text") trace:notice("LU01", "a text")
trace:info(text) trace:info(event, text)Prints an info message in the navajo.log file.trace:info("a text") trace:notice("LU01", "a text")
trace:notice(text) trace:notice(event, text)Prints a notice message in the navajo.log file.trace:notice("a text") trace:notice("LU01", "a text")
trace:error(text) trace:error(event, text)Prints an error message in the navajo.log file.trace:error("a text")trace:notice("LU01", "a text")
trace:data(data)trace:data(data, text)Prints a max level trace message in the navajo.log file, with the traced data both in readable and binary form.Optionally, you can set a text, which is the header line for the traced data.trace:data("a text")trace:data(chunk)trace:data(chunk, "This is the header text")