public static void bootstrap(final String dsn, Optional<String> tags,
      Optional<String> environment, Optional<String> release, Optional<String> serverName,
      boolean cleanRootLogger) {
    final RavenAppenderFactory raven = new RavenAppenderFactory();
    raven.setThreshold(Level.ERROR);
    raven.setDsn(dsn);
    raven.setTags(tags);
    raven.setEnvironment(environment);
    raven.setRelease(release);
    raven.setServerName(serverName);

    registerAppender(dsn, cleanRootLogger, raven);
  }
public static void bootstrap(final String dsn, Optional<String> tags,
      Optional<String> environment, Optional<String> release, Optional<String> serverName,
      boolean cleanRootLogger) {
    final RavenAppenderFactory raven = new RavenAppenderFactory();
    raven.setThreshold(Level.ERROR);
    raven.setDsn(dsn);
    raven.setTags(tags);
    raven.setEnvironment(environment);
    raven.setRelease(release);
    raven.setServerName(serverName);

    registerAppender(dsn, cleanRootLogger, raven);
  }
public static void bootstrap ( final String dsn , Optional < String > tags , Optional < String > environment , Optional < String > release , Optional < String > serverName , boolean cleanRootLogger ) { final RavenAppenderFactory raven = new RavenAppenderFactory ( ) ; raven . setThreshold ( Level . ERROR ) ; raven . setDsn ( dsn ) ; raven . setTags ( tags ) ; raven . setEnvironment ( environment ) ; raven . setRelease ( release ) ; raven . setServerName ( serverName ) ; registerAppender ( dsn , cleanRootLogger , raven ) ; }
Bootstrap the SLF4J root logger with a configured
{@link com.getsentry.raven.logback.SentryAppender}.

@param dsn The DSN (Data Source Name) for your project
@param tags Custom tags to send to Sentry along with errors
@param environment The environment name to pass to Sentry
@param release The release name to pass to Sentry
@param serverName The server name to pass to Sentry
@param cleanRootLogger If true, detach and stop all other appenders from the root logger
Bootstrap the SLF4J root logger with a configured { @link com . getsentry . raven . logback . SentryAppender } .