All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sentry.core.NoOpLogger Maven / Gradle / Ivy

There is a newer version: 3.0.0-alpha.1
Show newest version
package io.sentry.core;

/** No-op implementation of ILogger */
public final class NoOpLogger implements ILogger {

  private static final NoOpLogger instance = new NoOpLogger();

  public static NoOpLogger getInstance() {
    return instance;
  }

  private NoOpLogger() {}

  @Override
  public void log(SentryLevel level, String message, Object... args) {}

  @Override
  public void log(SentryLevel level, String message, Throwable throwable) {}

  @Override
  public void log(SentryLevel level, Throwable throwable, String message, Object... args) {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy