adapters/asyncstorage.js
async function asyncstorage(namespace) {
  var debug, diagnostics;

  try {
    debug = await storage.getItem('debug');
    diagnostics = await storage.getItem('diagnostics');
  } catch (e) {
    /* Nope, nothing. */
  }

  return enabled(namespace, debug || diagnostics || '');
}
async function asyncstorage(namespace) {
  var debug, diagnostics;

  try {
    debug = await storage.getItem('debug');
    diagnostics = await storage.getItem('diagnostics');
  } catch (e) {
    /* Nope, nothing. */
  }

  return enabled(namespace, debug || diagnostics || '');
}
async function asyncstorage ( namespace ) { var debug , diagnostics ; try { debug = await storage . getItem ( 'debug' ) ; diagnostics = await storage . getItem ( 'diagnostics' ) ; } catch ( e ) { /* Nope, nothing. */ } return enabled ( namespace , debug || diagnostics || '' ) ; }
AsyncStorage Adapter for React-Native

@param {String} namespace The namespace we should trigger on.
@return {Boolean} Indication if the namespace is allowed to log.
@public
AsyncStorage Adapter for React - Native