Set logger callback method
Usage:
local opcua = require 'opcua'
opcua.setLogger(function(level, category, msg)
print(level, category, msg)
end)
Get cosponding string name of UA_StatusCode enums
Usage:
local r = client:connect()
print(opcua.getStatusCodeName(r))