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 hgs
  • 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 Lhgs;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 Lhgs;b:Lbok;
    • executor

      private final SimpleConsecutiveExecutor executor
      Mappings:
      Namespace Name Mixin selector
      named executor Lnet/minecraft/client/session/telemetry/ThreadedLogWriter;executor:Lnet/minecraft/util/thread/SimpleConsecutiveExecutor;
      intermediary field_54195 Lnet/minecraft/class_7963;field_54195:Lnet/minecraft/class_10176;
      official c Lhgs;c:Lbry;
  • 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> Lhgs;<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 Lhgs;a()Lhgt;
    • close

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