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
named net/minecraft/client/session/telemetry/TelemetryLogManager
intermediary net/minecraft/class_7968
official gug
  • Field Details

    • LOGGER

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

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

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

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

      Mappings:
      Namespace Name Mixin selector
      named writer Lnet/minecraft/client/session/telemetry/TelemetryLogManager;writer:Ljava/util/concurrent/CompletableFuture;
      intermediary field_41456 Lnet/minecraft/class_7968;field_41456:Ljava/util/concurrent/CompletableFuture;
      official e Lgug;e:Ljava/util/concurrent/CompletableFuture;
  • Constructor Details

    • TelemetryLogManager

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

    • create

      public static CompletableFuture<Optional<TelemetryLogManager>> create(Path directory)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/session/telemetry/TelemetryLogManager;create(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;
      official a Lgug;a(Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
    • getLogger

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

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