code: public static void queueException(final String level, final String message, final Throwable e) {
  		try {
  			LogAppender<LogEvent> appender = LogManager.getAppender();
  
  			if (appender != null) {
  				appender.append(LogEvent.newBuilder().level(level).message(message).exception(e).build());
  			}
  		} catch (Throwable t) {
  			LOGGER.info("Unable to queue exception to Stackify Log API service: {} {} {}", level, message, e, t);
  		}
  	}
docs: Queues an exception to be sent to Stackify
  @param level The log level
  @param message The log message
  @param e The exception