Class TelemetryLogManager

java.lang.Object
net.minecraft.client.session.telemetry.TelemetryLogManager
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class TelemetryLogManager extends Object implements AutoCloseable
Mappings:
Namespace Name
official gea
intermediary net/minecraft/class_7968
named net/minecraft/client/session/telemetry/TelemetryLogManager
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lgea;a:Lorg/slf4j/Logger;
      intermediary field_41452 Lnet/minecraft/class_7968;field_41452:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/session/telemetry/TelemetryLogManager;LOGGER:Lorg/slf4j/Logger;
    • FILE_EXTENSION

      private static final String FILE_EXTENSION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lgea;b:Ljava/lang/String;
      intermediary field_41453 Lnet/minecraft/class_7968;field_41453:Ljava/lang/String;
      named FILE_EXTENSION Lnet/minecraft/client/session/telemetry/TelemetryLogManager;FILE_EXTENSION:Ljava/lang/String;
    • RETENTION_DAYS

      private static final int RETENTION_DAYS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lgea;c:I
      intermediary field_41454 Lnet/minecraft/class_7968;field_41454:I
      named RETENTION_DAYS Lnet/minecraft/client/session/telemetry/TelemetryLogManager;RETENTION_DAYS:I
    • compressor

      private final LogFileCompressor compressor
      Mappings:
      Namespace Name Mixin selector
      official d Lgea;d:Lbdb;
      intermediary field_41455 Lnet/minecraft/class_7968;field_41455:Lnet/minecraft/class_7929;
      named compressor Lnet/minecraft/client/session/telemetry/TelemetryLogManager;compressor:Lnet/minecraft/util/logging/LogFileCompressor;
    • writer

      @Nullable private @Nullable CompletableFuture<Optional<ThreadedLogWriter>> writer
      Mappings:
      Namespace Name Mixin selector
      official e Lgea;e:Ljava/util/concurrent/CompletableFuture;
      intermediary field_41456 Lnet/minecraft/class_7968;field_41456:Ljava/util/concurrent/CompletableFuture;
      named writer Lnet/minecraft/client/session/telemetry/TelemetryLogManager;writer:Ljava/util/concurrent/CompletableFuture;
  • Constructor Details

    • TelemetryLogManager

      private TelemetryLogManager(LogFileCompressor compressor)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgea;<init>(Lbdb;)V
      intermediary <init> Lnet/minecraft/class_7968;<init>(Lnet/minecraft/class_7929;)V
      named <init> Lnet/minecraft/client/session/telemetry/TelemetryLogManager;<init>(Lnet/minecraft/util/logging/LogFileCompressor;)V
  • Method Details

    • create

      public static CompletableFuture<Optional<TelemetryLogManager>> create(Path directory)
      Mappings:
      Namespace Name Mixin selector
      official a Lgea;a(Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_47738 Lnet/minecraft/class_7968;method_47738(Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
      named create Lnet/minecraft/client/session/telemetry/TelemetryLogManager;create(Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
    • getLogger

      Mappings:
      Namespace Name Mixin selector
      official a Lgea;a()Ljava/util/concurrent/CompletableFuture;
      intermediary method_47737 Lnet/minecraft/class_7968;method_47737()Ljava/util/concurrent/CompletableFuture;
      named getLogger Lnet/minecraft/client/session/telemetry/TelemetryLogManager;getLogger()Ljava/util/concurrent/CompletableFuture;
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable