How to use the aerospike.setDefaultLogging function in aerospike

To help you get started, we’ve selected a few aerospike examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aerospike / aerospike-client-nodejs / examples / shared / client.js View on Github external
module.exports = exports = function (argv) {
  const config = defaultConfig(argv)
  Aerospike.setDefaultLogging(config.log)
  const client = Aerospike.client(config)
  client.captureStackTraces = argv.debugStacktraces
  return client
}