Class TelemetryLogManager

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

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

    • LOGGER

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

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

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

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

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

    • TelemetryLogManager

      private TelemetryLogManager(LogFileCompressor compressor)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfyv;<init>(Lazw;)V
      intermediary <init> Lnet/minecraft/class_7968;<init>(Lnet/minecraft/class_7929;)V
      named <init> Lnet/minecraft/client/util/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 Lfyv;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/util/telemetry/TelemetryLogManager;create(Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture;
    • getLogger

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

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