code: public static AppEventsLogger newLogger(Context context, Session session) {
          return new AppEventsLogger(context, null, session);
      }
docs: Build an AppEventsLogger instance to log events through.
  
  @param context Used to access the attributionId for non-authenticated users.
  @param session Explicitly specified Session to log events against.  If null, the activeSession
  will be used if it's open, otherwise the logging will happen against the default
  app ID specified via the app ID specified in the package metadata.
  @return AppEventsLogger instance to invoke log* methods on.