code: 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 || '');
  }
docs: 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