var RadiodanClient  = require('./lib/radiodan-client'),
    MessagingClient = require('./lib/messaging-client');

module.exports.create = function (opts) {
  opts = opts || {};

  var client = MessagingClient.create(opts);
  return RadiodanClient.create(client);
};

var RadiodanClient  = require('./lib/radiodan-client'),
    MessagingClient = require('./lib/messaging-client'),
    logger = require('./lib/utils').logger;

module.exports.create = function (opts) {
  opts = opts || {};

  var client = MessagingClient.create(opts);
  return RadiodanClient.create(client);
};

module.exports.setLogLevel = function (level) {
  logger.setLevel(level);
};

Allow caller to set custom log level
Allow caller to set custom log level
