Class ProtocolLogger

java.lang.Object
com.viaversion.viaversion.util.ProtocolLogger

public class ProtocolLogger extends Object
Wrapper class for logging messages with the protocol name. Should be created inside the Protocol implementation.
  • Constructor Details

    • ProtocolLogger

      public ProtocolLogger(Class<? extends Protocol> protocol)
    • ProtocolLogger

      public ProtocolLogger(Logger logger, Class<? extends Protocol> protocol)
  • Method Details