Class HytaleSentryHandler

java.lang.Object
java.util.logging.Handler
com.hypixel.hytale.logger.sentry.HytaleSentryHandler

public class HytaleSentryHandler extends Handler
NOTE: A modified version of SentryHandler.java

Logging handler in charge of sending the java.util.logging records to a Sentry server.

  • Field Details

  • Constructor Details

    • HytaleSentryHandler

      public HytaleSentryHandler(@Nonnull io.sentry.IScopes scope)
      Creates an instance of SentryHandler.
      Parameters:
      scope - the SentryOptions
  • Method Details

    • publish

      public void publish(@Nonnull LogRecord record)
      Specified by:
      publish in class Handler
    • flush

      public void flush()
      Specified by:
      flush in class Handler
    • close

      public void close() throws SecurityException
      Specified by:
      close in class Handler
      Throws:
      SecurityException
    • setPrintfStyle

      public void setPrintfStyle(boolean printfStyle)
    • setMinimumBreadcrumbLevel

      public void setMinimumBreadcrumbLevel(@Nullable Level minimumBreadcrumbLevel)
    • getMinimumBreadcrumbLevel

      @Nonnull public Level getMinimumBreadcrumbLevel()
    • setMinimumEventLevel

      public void setMinimumEventLevel(@Nullable Level minimumEventLevel)
    • getMinimumEventLevel

      @Nonnull public Level getMinimumEventLevel()
    • setMinimumLevel

      public void setMinimumLevel(@Nullable Level minimumLevel)
    • getMinimumLevel

      @Nonnull public Level getMinimumLevel()
    • isPrintfStyle

      public boolean isPrintfStyle()