Class ThreadedLogWriter

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

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

    • LOGGER

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

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

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

    • ThreadedLogWriter

      public ThreadedLogWriter(FileChannel channel, Executor executor)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/session/telemetry/ThreadedLogWriter;<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
      official <init> Lgup;<init>(Ljava/nio/channels/FileChannel;Ljava/util/concurrent/Executor;)V
  • Method Details

    • getLogger

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

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