public class com.codahale.metrics.logback.InstrumentedAppender extends ch.qos.logback.core.UnsynchronizedAppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.codahale.metrics.logback.InstrumentedAppender
super_class: ch.qos.logback.core.UnsynchronizedAppenderBase
{
private final com.codahale.metrics.MetricRegistry registry;
descriptor: Lcom/codahale/metrics/MetricRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final java.lang.String DEFAULT_REGISTRY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "logback-metrics"
public static final java.lang.String REGISTRY_PROPERTY_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "metrics.logback.registry"
private com.codahale.metrics.Meter all;
descriptor: Lcom/codahale/metrics/Meter;
flags: (0x0002) ACC_PRIVATE
private com.codahale.metrics.Meter trace;
descriptor: Lcom/codahale/metrics/Meter;
flags: (0x0002) ACC_PRIVATE
private com.codahale.metrics.Meter debug;
descriptor: Lcom/codahale/metrics/Meter;
flags: (0x0002) ACC_PRIVATE
private com.codahale.metrics.Meter info;
descriptor: Lcom/codahale/metrics/Meter;
flags: (0x0002) ACC_PRIVATE
private com.codahale.metrics.Meter warn;
descriptor: Lcom/codahale/metrics/Meter;
flags: (0x0002) ACC_PRIVATE
private com.codahale.metrics.Meter error;
descriptor: Lcom/codahale/metrics/Meter;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "metrics.logback.registry"
ldc "logback-metrics"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial com.codahale.metrics.logback.InstrumentedAppender.<init>:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/logback/InstrumentedAppender;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.codahale.metrics.SharedMetricRegistries.getOrCreate:(Ljava/lang/String;)Lcom/codahale/metrics/MetricRegistry;
invokespecial com.codahale.metrics.logback.InstrumentedAppender.<init>:(Lcom/codahale/metrics/MetricRegistry;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/logback/InstrumentedAppender;
0 2 1 registryName Ljava/lang/String;
MethodParameters:
Name Flags
registryName
public void <init>(com.codahale.metrics.MetricRegistry);
descriptor: (Lcom/codahale/metrics/MetricRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial ch.qos.logback.core.UnsynchronizedAppenderBase.<init>:()V
1: aload 0
aload 1
putfield com.codahale.metrics.logback.InstrumentedAppender.registry:Lcom/codahale/metrics/MetricRegistry;
2: aload 0
ldc Lch/qos/logback/core/Appender;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.setName:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/codahale/metrics/logback/InstrumentedAppender;
0 4 1 registry Lcom/codahale/metrics/MetricRegistry;
MethodParameters:
Name Flags
registry
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.getName:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "all"
aastore
invokestatic com.codahale.metrics.MetricRegistry.name:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.codahale.metrics.MetricRegistry.meter:(Ljava/lang/String;)Lcom/codahale/metrics/Meter;
putfield com.codahale.metrics.logback.InstrumentedAppender.all:Lcom/codahale/metrics/Meter;
1: aload 0
aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.getName:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "trace"
aastore
invokestatic com.codahale.metrics.MetricRegistry.name:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.codahale.metrics.MetricRegistry.meter:(Ljava/lang/String;)Lcom/codahale/metrics/Meter;
putfield com.codahale.metrics.logback.InstrumentedAppender.trace:Lcom/codahale/metrics/Meter;
2: aload 0
aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.getName:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "debug"
aastore
invokestatic com.codahale.metrics.MetricRegistry.name:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.codahale.metrics.MetricRegistry.meter:(Ljava/lang/String;)Lcom/codahale/metrics/Meter;
putfield com.codahale.metrics.logback.InstrumentedAppender.debug:Lcom/codahale/metrics/Meter;
3: aload 0
aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.getName:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "info"
aastore
invokestatic com.codahale.metrics.MetricRegistry.name:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.codahale.metrics.MetricRegistry.meter:(Ljava/lang/String;)Lcom/codahale/metrics/Meter;
putfield com.codahale.metrics.logback.InstrumentedAppender.info:Lcom/codahale/metrics/Meter;
4: aload 0
aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.getName:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "warn"
aastore
invokestatic com.codahale.metrics.MetricRegistry.name:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.codahale.metrics.MetricRegistry.meter:(Ljava/lang/String;)Lcom/codahale/metrics/Meter;
putfield com.codahale.metrics.logback.InstrumentedAppender.warn:Lcom/codahale/metrics/Meter;
5: aload 0
aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.registry:Lcom/codahale/metrics/MetricRegistry;
aload 0
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.getName:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "error"
aastore
invokestatic com.codahale.metrics.MetricRegistry.name:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.codahale.metrics.MetricRegistry.meter:(Ljava/lang/String;)Lcom/codahale/metrics/Meter;
putfield com.codahale.metrics.logback.InstrumentedAppender.error:Lcom/codahale/metrics/Meter;
6: aload 0
invokespecial ch.qos.logback.core.UnsynchronizedAppenderBase.start:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/codahale/metrics/logback/InstrumentedAppender;
protected void append(ch.qos.logback.classic.spi.ILoggingEvent);
descriptor: (Lch/qos/logback/classic/spi/ILoggingEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.all:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
1: aload 1
invokeinterface ch.qos.logback.classic.spi.ILoggingEvent.getLevel:()Lch/qos/logback/classic/Level;
invokevirtual ch.qos.logback.classic.Level.toInt:()I
lookupswitch { // 5
5000: 2
10000: 4
20000: 6
30000: 8
40000: 10
default: 12
}
2: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.trace:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
3: goto 12
4: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.debug:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
5: goto 12
6: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.info:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
7: goto 12
8: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.warn:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
9: goto 12
10: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.logback.InstrumentedAppender.error:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
11: goto 12
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/codahale/metrics/logback/InstrumentedAppender;
0 13 1 event Lch/qos/logback/classic/spi/ILoggingEvent;
MethodParameters:
Name Flags
event
protected void append(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast ch.qos.logback.classic.spi.ILoggingEvent
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.append:(Lch/qos/logback/classic/spi/ILoggingEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lch/qos/logback/core/UnsynchronizedAppenderBase<Lch/qos/logback/classic/spi/ILoggingEvent;>;
SourceFile: "InstrumentedAppender.java"