public class ch.qos.logback.classic.joran.action.ConsolePluginAction extends ch.qos.logback.core.joran.action.Action
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: ch.qos.logback.classic.joran.action.ConsolePluginAction
  super_class: ch.qos.logback.core.joran.action.Action
{
  private static final java.lang.String PORT_ATTR;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "port"

  private static final java.lang.Integer DEFAULT_PORT;
    descriptor: Ljava/lang/Integer;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 28
            sipush 4321
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            putstatic ch.qos.logback.classic.joran.action.ConsolePluginAction.DEFAULT_PORT:Ljava/lang/Integer;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // ch.qos.logback.classic.joran.action.ConsolePluginAction this
         0: .line 25
            aload 0 /* this */
            invokespecial ch.qos.logback.core.joran.action.Action.<init>:()V
            return
        end local 0 // ch.qos.logback.classic.joran.action.ConsolePluginAction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lch/qos/logback/classic/joran/action/ConsolePluginAction;

  public void begin(ch.qos.logback.core.joran.spi.InterpretationContext, java.lang.String, org.xml.sax.Attributes);
    descriptor: (Lch/qos/logback/core/joran/spi/InterpretationContext;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=9, args_size=4
        start local 0 // ch.qos.logback.classic.joran.action.ConsolePluginAction this
        start local 1 // ch.qos.logback.core.joran.spi.InterpretationContext ec
        start local 2 // java.lang.String name
        start local 3 // org.xml.sax.Attributes attributes
         0: .line 32
            aload 3 /* attributes */
            ldc "port"
            invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* portStr */
        start local 4 // java.lang.String portStr
         1: .line 33
            aconst_null
            astore 5 /* port */
        start local 5 // java.lang.Integer port
         2: .line 35
            aload 4 /* portStr */
            ifnonnull 5
         3: .line 36
            getstatic ch.qos.logback.classic.joran.action.ConsolePluginAction.DEFAULT_PORT:Ljava/lang/Integer;
            astore 5 /* port */
         4: .line 37
            goto 9
         5: .line 39
      StackMap locals: java.lang.String java.lang.Integer
      StackMap stack:
            aload 4 /* portStr */
            invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
            astore 5 /* port */
         6: .line 40
            goto 9
      StackMap locals:
      StackMap stack: java.lang.NumberFormatException
         7: pop
         8: .line 41
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            ldc "Port "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 4 /* portStr */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " in ConsolePlugin config is not a correct number"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual ch.qos.logback.classic.joran.action.ConsolePluginAction.addError:(Ljava/lang/String;)V
         9: .line 45
      StackMap locals:
      StackMap stack:
            aload 1 /* ec */
            invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.getContext:()Lch/qos/logback/core/Context;
            checkcast ch.qos.logback.classic.LoggerContext
            astore 6 /* lc */
        start local 6 // ch.qos.logback.classic.LoggerContext lc
        10: .line 46
            new ch.qos.logback.classic.net.SocketAppender
            dup
            invokespecial ch.qos.logback.classic.net.SocketAppender.<init>:()V
            astore 7 /* appender */
        start local 7 // ch.qos.logback.classic.net.SocketAppender appender
        11: .line 47
            aload 7 /* appender */
            aload 6 /* lc */
            invokevirtual ch.qos.logback.classic.net.SocketAppender.setContext:(Lch/qos/logback/core/Context;)V
        12: .line 48
            aload 7 /* appender */
            iconst_1
            invokevirtual ch.qos.logback.classic.net.SocketAppender.setIncludeCallerData:(Z)V
        13: .line 49
            aload 7 /* appender */
            ldc "localhost"
            invokevirtual ch.qos.logback.classic.net.SocketAppender.setRemoteHost:(Ljava/lang/String;)V
        14: .line 50
            aload 7 /* appender */
            aload 5 /* port */
            invokevirtual java.lang.Integer.intValue:()I
            invokevirtual ch.qos.logback.classic.net.SocketAppender.setPort:(I)V
        15: .line 51
            aload 7 /* appender */
            invokevirtual ch.qos.logback.classic.net.SocketAppender.start:()V
        16: .line 52
            aload 6 /* lc */
            ldc "ROOT"
            invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
            astore 8 /* root */
        start local 8 // ch.qos.logback.classic.Logger root
        17: .line 53
            aload 8 /* root */
            aload 7 /* appender */
            invokevirtual ch.qos.logback.classic.Logger.addAppender:(Lch/qos/logback/core/Appender;)V
        18: .line 55
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            ldc "Sending LoggingEvents to the plugin using port "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* port */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual ch.qos.logback.classic.joran.action.ConsolePluginAction.addInfo:(Ljava/lang/String;)V
        19: .line 56
            return
        end local 8 // ch.qos.logback.classic.Logger root
        end local 7 // ch.qos.logback.classic.net.SocketAppender appender
        end local 6 // ch.qos.logback.classic.LoggerContext lc
        end local 5 // java.lang.Integer port
        end local 4 // java.lang.String portStr
        end local 3 // org.xml.sax.Attributes attributes
        end local 2 // java.lang.String name
        end local 1 // ch.qos.logback.core.joran.spi.InterpretationContext ec
        end local 0 // ch.qos.logback.classic.joran.action.ConsolePluginAction this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   20     0        this  Lch/qos/logback/classic/joran/action/ConsolePluginAction;
            0   20     1          ec  Lch/qos/logback/core/joran/spi/InterpretationContext;
            0   20     2        name  Ljava/lang/String;
            0   20     3  attributes  Lorg/xml/sax/Attributes;
            1   20     4     portStr  Ljava/lang/String;
            2   20     5        port  Ljava/lang/Integer;
           10   20     6          lc  Lch/qos/logback/classic/LoggerContext;
           11   20     7    appender  Lch/qos/logback/classic/net/SocketAppender;
           17   20     8        root  Lch/qos/logback/classic/Logger;
      Exception table:
        from    to  target  type
           5     6       7  Class java.lang.NumberFormatException
    Exceptions:
      throws ch.qos.logback.core.joran.spi.ActionException
    MethodParameters:
            Name  Flags
      ec          
      name        
      attributes  

  public void end(ch.qos.logback.core.joran.spi.InterpretationContext, java.lang.String);
    descriptor: (Lch/qos/logback/core/joran/spi/InterpretationContext;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=3, args_size=3
        start local 0 // ch.qos.logback.classic.joran.action.ConsolePluginAction this
        start local 1 // ch.qos.logback.core.joran.spi.InterpretationContext ec
        start local 2 // java.lang.String name
         0: .line 61
            return
        end local 2 // java.lang.String name
        end local 1 // ch.qos.logback.core.joran.spi.InterpretationContext ec
        end local 0 // ch.qos.logback.classic.joran.action.ConsolePluginAction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lch/qos/logback/classic/joran/action/ConsolePluginAction;
            0    1     1    ec  Lch/qos/logback/core/joran/spi/InterpretationContext;
            0    1     2  name  Ljava/lang/String;
    Exceptions:
      throws ch.qos.logback.core.joran.spi.ActionException
    MethodParameters:
      Name  Flags
      ec    
      name  
}
SourceFile: "ConsolePluginAction.java"