public class ch.qos.logback.classic.joran.action.LoggerAction 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.LoggerAction
super_class: ch.qos.logback.core.joran.action.Action
{
public static final java.lang.String LEVEL_ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "level"
boolean inError;
descriptor: Z
flags: (0x0000)
ch.qos.logback.classic.Logger logger;
descriptor: Lch/qos/logback/classic/Logger;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial ch.qos.logback.core.joran.action.Action.<init>:()V
1: aload 0
iconst_0
putfield ch.qos.logback.classic.joran.action.LoggerAction.inError:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/classic/joran/action/LoggerAction;
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 start local 1 start local 2 start local 3 0: aload 0
iconst_0
putfield ch.qos.logback.classic.joran.action.LoggerAction.inError:Z
1: aload 0
aconst_null
putfield ch.qos.logback.classic.joran.action.LoggerAction.logger:Lch/qos/logback/classic/Logger;
2: aload 0
getfield ch.qos.logback.classic.joran.action.LoggerAction.context:Lch/qos/logback/core/Context;
checkcast ch.qos.logback.classic.LoggerContext
astore 4
start local 4 3: aload 1
aload 3
ldc "name"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.subst:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 4: aload 5
invokestatic ch.qos.logback.core.util.OptionHelper.isEmpty:(Ljava/lang/String;)Z
ifeq 10
5: aload 0
iconst_1
putfield ch.qos.logback.classic.joran.action.LoggerAction.inError:Z
6: aload 0
aload 1
invokevirtual ch.qos.logback.classic.joran.action.LoggerAction.getLineColStr:(Lch/qos/logback/core/joran/spi/InterpretationContext;)Ljava/lang/String;
astore 6
start local 6 7: new java.lang.StringBuilder
dup
ldc "No 'name' attribute in element "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", around "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 8: aload 0
aload 7
invokevirtual ch.qos.logback.classic.joran.action.LoggerAction.addError:(Ljava/lang/String;)V
9: return
end local 7 end local 6 10: StackMap locals: ch.qos.logback.classic.LoggerContext java.lang.String
StackMap stack:
aload 0
aload 4
aload 5
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
putfield ch.qos.logback.classic.joran.action.LoggerAction.logger:Lch/qos/logback/classic/Logger;
11: aload 1
aload 3
ldc "level"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.subst:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 12: aload 6
invokestatic ch.qos.logback.core.util.OptionHelper.isEmpty:(Ljava/lang/String;)Z
ifne 20
13: ldc "INHERITED"
aload 6
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 14
ldc "NULL"
aload 6
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 17
14: StackMap locals: java.lang.String
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "Setting level of logger ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] to null, i.e. INHERITED"
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.LoggerAction.addInfo:(Ljava/lang/String;)V
15: aload 0
getfield ch.qos.logback.classic.joran.action.LoggerAction.logger:Lch/qos/logback/classic/Logger;
aconst_null
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
16: goto 20
17: StackMap locals:
StackMap stack:
aload 6
invokestatic ch.qos.logback.classic.Level.toLevel:(Ljava/lang/String;)Lch/qos/logback/classic/Level;
astore 7
start local 7 18: aload 0
new java.lang.StringBuilder
dup
ldc "Setting level of logger ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
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.LoggerAction.addInfo:(Ljava/lang/String;)V
19: aload 0
getfield ch.qos.logback.classic.joran.action.LoggerAction.logger:Lch/qos/logback/classic/Logger;
aload 7
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
end local 7 20: StackMap locals:
StackMap stack:
aload 1
aload 3
ldc "additivity"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.subst:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 21: aload 7
invokestatic ch.qos.logback.core.util.OptionHelper.isEmpty:(Ljava/lang/String;)Z
ifne 25
22: aload 7
iconst_1
invokestatic ch.qos.logback.core.util.OptionHelper.toBoolean:(Ljava/lang/String;Z)Z
istore 8
start local 8 23: aload 0
new java.lang.StringBuilder
dup
ldc "Setting additivity of logger ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 8
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.joran.action.LoggerAction.addInfo:(Ljava/lang/String;)V
24: aload 0
getfield ch.qos.logback.classic.joran.action.LoggerAction.logger:Lch/qos/logback/classic/Logger;
iload 8
invokevirtual ch.qos.logback.classic.Logger.setAdditive:(Z)V
end local 8 25: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 0
getfield ch.qos.logback.classic.joran.action.LoggerAction.logger:Lch/qos/logback/classic/Logger;
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.pushObject:(Ljava/lang/Object;)V
26: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lch/qos/logback/classic/joran/action/LoggerAction;
0 27 1 ec Lch/qos/logback/core/joran/spi/InterpretationContext;
0 27 2 name Ljava/lang/String;
0 27 3 attributes Lorg/xml/sax/Attributes;
3 27 4 loggerContext Lch/qos/logback/classic/LoggerContext;
4 27 5 loggerName Ljava/lang/String;
7 10 6 aroundLine Ljava/lang/String;
8 10 7 errorMsg Ljava/lang/String;
12 27 6 levelStr Ljava/lang/String;
18 20 7 level Lch/qos/logback/classic/Level;
21 27 7 additivityStr Ljava/lang/String;
23 25 8 additive Z
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=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield ch.qos.logback.classic.joran.action.LoggerAction.inError:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.peekObject:()Ljava/lang/Object;
astore 3
start local 3 3: aload 3
aload 0
getfield ch.qos.logback.classic.joran.action.LoggerAction.logger:Lch/qos/logback/classic/Logger;
if_acmpeq 7
4: aload 0
new java.lang.StringBuilder
dup
ldc "The object on the top the of the stack is not "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.classic.joran.action.LoggerAction.logger:Lch/qos/logback/classic/Logger;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " pushed earlier"
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.LoggerAction.addWarn:(Ljava/lang/String;)V
5: aload 0
new java.lang.StringBuilder
dup
ldc "It is: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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.LoggerAction.addWarn:(Ljava/lang/String;)V
6: goto 8
7: StackMap locals: java.lang.Object
StackMap stack:
aload 1
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.popObject:()Ljava/lang/Object;
pop
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lch/qos/logback/classic/joran/action/LoggerAction;
0 9 1 ec Lch/qos/logback/core/joran/spi/InterpretationContext;
0 9 2 e Ljava/lang/String;
3 9 3 o Ljava/lang/Object;
MethodParameters:
Name Flags
ec
e
public void finish(ch.qos.logback.core.joran.spi.InterpretationContext);
descriptor: (Lch/qos/logback/core/joran/spi/InterpretationContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/classic/joran/action/LoggerAction;
0 1 1 ec Lch/qos/logback/core/joran/spi/InterpretationContext;
MethodParameters:
Name Flags
ec
}
SourceFile: "LoggerAction.java"