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
official gjk
intermediary net/minecraft/class_7963
named net/minecraft/client/session/telemetry/ThreadedLogWriter
  • Field Details

    • LOGGER

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

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

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

    • ThreadedLogWriter

      public ThreadedLogWriter(FileChannel channel, Executor executor)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgjk;<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/session/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 Lgjk;a()Lgjl;
      intermediary method_47713 Lnet/minecraft/class_7963;method_47713()Lnet/minecraft/class_7964;
      named getLogger Lnet/minecraft/client/session/telemetry/ThreadedLogWriter;getLogger()Lnet/minecraft/client/session/telemetry/TelemetryLogger;
    • close

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