Class ThreadedLogWriter

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lfyr;a:Lorg/slf4j/Logger;
      intermediary field_41431 Lnet/minecraft/class_7963;field_41431:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/util/telemetry/ThreadedLogWriter;LOGGER:Lorg/slf4j/Logger;
    • writer

      private final LogWriter<SentTelemetryEvent> writer
      Mappings:
      Namespace Name Mixin selector
      official b Lfyr;b:Lazx;
      intermediary field_41432 Lnet/minecraft/class_7963;field_41432:Lnet/minecraft/class_7935;
      named writer Lnet/minecraft/client/util/telemetry/ThreadedLogWriter;writer:Lnet/minecraft/util/logging/LogWriter;
    • executor

      private final TaskExecutor<Runnable> executor
      Mappings:
      Namespace Name Mixin selector
      official c Lfyr;c:Lbcn;
      intermediary field_41433 Lnet/minecraft/class_7963;field_41433:Lnet/minecraft/class_3846;
      named executor Lnet/minecraft/client/util/telemetry/ThreadedLogWriter;executor:Lnet/minecraft/util/thread/TaskExecutor;
  • Constructor Details

    • ThreadedLogWriter

      public ThreadedLogWriter(FileChannel channel, Executor executor)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfyr;<init>(Ljava/nio/channels/FileChannel;Ljava/util/concurrent/Executor;)V
      intermediary <init> Lnet/minecraft/class_7963;<init>(Ljava/nio/channels/FileChannel;Ljava/util/concurrent/Executor;)V
      named <init> Lnet/minecraft/client/util/telemetry/ThreadedLogWriter;<init>(Ljava/nio/channels/FileChannel;Ljava/util/concurrent/Executor;)V
  • Method Details

    • getLogger

      public TelemetryLogger getLogger()
      Mappings:
      Namespace Name Mixin selector
      official a Lfyr;a()Lfys;
      intermediary method_47713 Lnet/minecraft/class_7963;method_47713()Lnet/minecraft/class_7964;
      named getLogger Lnet/minecraft/client/util/telemetry/ThreadedLogWriter;getLogger()Lnet/minecraft/client/util/telemetry/TelemetryLogger;
    • close

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