LuaLog Methods

A LuaLog object provides the capability to use a log stream defined in the connector's configuration file. You can obtain a LuaLog object for a log stream by using the function get_log.

If you have a LuaLog object called log you can call its methods using the ':' operator. For example:

log:write_line(level, message)
Method Description
write_line Write a message to the log stream.