public class io.dropwizard.logging.DefaultLoggingFactory implements io.dropwizard.logging.LoggingFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.logging.DefaultLoggingFactory
super_class: java.lang.Object
{
private static final java.util.concurrent.locks.ReentrantLock MBEAN_REGISTRATION_LOCK;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.locks.ReentrantLock CHANGE_LOGGER_CONTEXT_LOCK;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.String level;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.NotNull()
private com.google.common.collect.ImmutableMap<java.lang.String, com.fasterxml.jackson.databind.JsonNode> loggers;
descriptor: Lcom/google/common/collect/ImmutableMap;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/google/common/collect/ImmutableMap<Ljava/lang/String;Lcom/fasterxml/jackson/databind/JsonNode;>;
RuntimeVisibleAnnotations:
javax.validation.constraints.NotNull()
private com.google.common.collect.ImmutableList<io.dropwizard.logging.AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>> appenders;
descriptor: Lcom/google/common/collect/ImmutableList;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/google/common/collect/ImmutableList<Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;>;
RuntimeVisibleAnnotations:
javax.validation.Valid()
javax.validation.constraints.NotNull()
private final ch.qos.logback.classic.LoggerContext loggerContext;
descriptor: Lch/qos/logback/classic/LoggerContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonIgnore()
private final java.io.PrintStream ;
descriptor: Ljava/io/PrintStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonIgnore()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putstatic io.dropwizard.logging.DefaultLoggingFactory.MBEAN_REGISTRATION_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
1: new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.dropwizard.logging.LoggingUtil.getLoggerContext:()Lch/qos/logback/classic/LoggerContext;
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokespecial io.dropwizard.logging.DefaultLoggingFactory.<init>:(Lch/qos/logback/classic/LoggerContext;Ljava/io/PrintStream;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
void <init>(ch.qos.logback.classic.LoggerContext, java.io.PrintStream);
descriptor: (Lch/qos/logback/classic/LoggerContext;Ljava/io/PrintStream;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "INFO"
putfield io.dropwizard.logging.DefaultLoggingFactory.level:Ljava/lang/String;
2: aload 0
invokestatic com.google.common.collect.ImmutableMap.of:()Lcom/google/common/collect/ImmutableMap;
putfield io.dropwizard.logging.DefaultLoggingFactory.loggers:Lcom/google/common/collect/ImmutableMap;
3: aload 0
4: new io.dropwizard.logging.ConsoleAppenderFactory
dup
invokespecial io.dropwizard.logging.ConsoleAppenderFactory.<init>:()V
5: invokestatic com.google.common.collect.ImmutableList.of:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList;
putfield io.dropwizard.logging.DefaultLoggingFactory.appenders:Lcom/google/common/collect/ImmutableList;
6: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast ch.qos.logback.classic.LoggerContext
putfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
7: aload 0
aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.io.PrintStream
putfield io.dropwizard.logging.DefaultLoggingFactory.configurationErrorsStream:Ljava/io/PrintStream;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 9 1 loggerContext Lch/qos/logback/classic/LoggerContext;
0 9 2 configurationErrorsStream Ljava/io/PrintStream;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
loggerContext
configurationErrorsStream
ch.qos.logback.classic.LoggerContext getLoggerContext();
descriptor: ()Lch/qos/logback/classic/LoggerContext;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
java.io.PrintStream ();
descriptor: ()Ljava/io/PrintStream;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.configurationErrorsStream:Ljava/io/PrintStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
public java.lang.String getLevel();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.level:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setLevel(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
putfield io.dropwizard.logging.DefaultLoggingFactory.level:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 2 1 level Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
level
public com.google.common.collect.ImmutableMap<java.lang.String, com.fasterxml.jackson.databind.JsonNode> getLoggers();
descriptor: ()Lcom/google/common/collect/ImmutableMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggers:Lcom/google/common/collect/ImmutableMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
Signature: ()Lcom/google/common/collect/ImmutableMap<Ljava/lang/String;Lcom/fasterxml/jackson/databind/JsonNode;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setLoggers(java.util.Map<java.lang.String, com.fasterxml.jackson.databind.JsonNode>);
descriptor: (Ljava/util/Map;)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.google.common.collect.ImmutableMap.copyOf:(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;
putfield io.dropwizard.logging.DefaultLoggingFactory.loggers:Lcom/google/common/collect/ImmutableMap;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 2 1 loggers Ljava/util/Map<Ljava/lang/String;Lcom/fasterxml/jackson/databind/JsonNode;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Lcom/fasterxml/jackson/databind/JsonNode;>;)V
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
loggers
public com.google.common.collect.ImmutableList<io.dropwizard.logging.AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>> getAppenders();
descriptor: ()Lcom/google/common/collect/ImmutableList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.appenders:Lcom/google/common/collect/ImmutableList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
Signature: ()Lcom/google/common/collect/ImmutableList<Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setAppenders(java.util.List<io.dropwizard.logging.AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>>);
descriptor: (Ljava/util/List;)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.google.common.collect.ImmutableList.copyOf:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
putfield io.dropwizard.logging.DefaultLoggingFactory.appenders:Lcom/google/common/collect/ImmutableList;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 2 1 appenders Ljava/util/List<Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;>;
Signature: (Ljava/util/List<Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;>;)V
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
appenders
public void configure(com.codahale.metrics.MetricRegistry, java.lang.String);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=3
start local 0 start local 1 start local 2 0: invokestatic io.dropwizard.logging.LoggingUtil.hijackJDKLogging:()V
1: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: aload 0
aload 2
invokevirtual io.dropwizard.logging.DefaultLoggingFactory.configureLoggers:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 3
start local 3 3: goto 7
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 4
5: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
6: aload 4
athrow
start local 3 7: StackMap locals: ch.qos.logback.classic.Logger
StackMap stack:
getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
8: new io.dropwizard.logging.filter.ThresholdLevelFilterFactory
dup
invokespecial io.dropwizard.logging.filter.ThresholdLevelFilterFactory.<init>:()V
astore 4
start local 4 9: new io.dropwizard.logging.async.AsyncLoggingEventAppenderFactory
dup
invokespecial io.dropwizard.logging.async.AsyncLoggingEventAppenderFactory.<init>:()V
astore 5
start local 5 10: new io.dropwizard.logging.layout.DropwizardLayoutFactory
dup
invokespecial io.dropwizard.logging.layout.DropwizardLayoutFactory.<init>:()V
astore 6
start local 6 11: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.appenders:Lcom/google/common/collect/ImmutableList;
invokevirtual com.google.common.collect.ImmutableList.iterator:()Ljava/util/Iterator;
astore 8
goto 14
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory com.codahale.metrics.MetricRegistry java.lang.String ch.qos.logback.classic.Logger io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory top java.util.Iterator
StackMap stack:
12: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.dropwizard.logging.AppenderFactory
astore 7
start local 7 13: aload 3
aload 7
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
aload 2
aload 6
aload 4
aload 5
invokeinterface io.dropwizard.logging.AppenderFactory.build:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/String;Lio/dropwizard/logging/layout/LayoutFactory;Lio/dropwizard/logging/filter/LevelFilterFactory;Lio/dropwizard/logging/async/AsyncAppenderFactory;)Lch/qos/logback/core/Appender;
invokevirtual ch.qos.logback.classic.Logger.addAppender:(Lch/qos/logback/core/Appender;)V
end local 7 14: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.configurationErrorsStream:Ljava/io/PrintStream;
invokestatic ch.qos.logback.core.util.StatusPrinter.setPrintStream:(Ljava/io/PrintStream;)V
16: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokestatic ch.qos.logback.core.util.StatusPrinter.printIfErrorsOccured:(Lch/qos/logback/core/Context;)V
17: goto 21
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory com.codahale.metrics.MetricRegistry java.lang.String ch.qos.logback.classic.Logger io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory
StackMap stack: java.lang.Throwable
18: astore 7
19: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic ch.qos.logback.core.util.StatusPrinter.setPrintStream:(Ljava/io/PrintStream;)V
20: aload 7
athrow
21: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic ch.qos.logback.core.util.StatusPrinter.setPrintStream:(Ljava/io/PrintStream;)V
22: invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
astore 7
start local 7 23: getstatic io.dropwizard.logging.DefaultLoggingFactory.MBEAN_REGISTRATION_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
24: new javax.management.ObjectName
dup
ldc "io.dropwizard:type=Logging"
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 8
start local 8 25: aload 7
aload 8
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifne 37
26: aload 7
new ch.qos.logback.classic.jmx.JMXConfigurator
dup
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
27: aload 7
28: aload 8
invokespecial ch.qos.logback.classic.jmx.JMXConfigurator.<init>:(Lch/qos/logback/classic/LoggerContext;Ljavax/management/MBeanServer;Ljavax/management/ObjectName;)V
29: aload 8
30: invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
end local 8 31: goto 37
32: StackMap locals: io.dropwizard.logging.DefaultLoggingFactory com.codahale.metrics.MetricRegistry java.lang.String ch.qos.logback.classic.Logger io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory javax.management.MBeanServer
StackMap stack: javax.management.JMException
astore 8
start local 8 33: new java.lang.RuntimeException
dup
aload 8
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 8 34: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
35: getstatic io.dropwizard.logging.DefaultLoggingFactory.MBEAN_REGISTRATION_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
36: aload 9
athrow
37: StackMap locals:
StackMap stack:
getstatic io.dropwizard.logging.DefaultLoggingFactory.MBEAN_REGISTRATION_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
38: aload 0
aload 3
aload 1
invokevirtual io.dropwizard.logging.DefaultLoggingFactory.configureInstrumentation:(Lch/qos/logback/classic/Logger;Lcom/codahale/metrics/MetricRegistry;)V
39: 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 40 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 40 1 metricRegistry Lcom/codahale/metrics/MetricRegistry;
0 40 2 name Ljava/lang/String;
3 4 3 root Lch/qos/logback/classic/Logger;
7 40 3 root Lch/qos/logback/classic/Logger;
9 40 4 levelFilterFactory Lio/dropwizard/logging/filter/LevelFilterFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
10 40 5 asyncAppenderFactory Lio/dropwizard/logging/async/AsyncAppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
11 40 6 layoutFactory Lio/dropwizard/logging/layout/LayoutFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
13 14 7 output Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
23 40 7 server Ljavax/management/MBeanServer;
25 31 8 objectName Ljavax/management/ObjectName;
33 34 8 e Ljavax/management/JMException;
Exception table:
from to target type
2 4 4 any
16 18 18 any
24 31 32 Class javax.management.MalformedObjectNameException
24 31 32 Class javax.management.InstanceAlreadyExistsException
24 31 32 Class javax.management.NotCompliantMBeanException
24 31 32 Class javax.management.MBeanRegistrationException
24 34 34 any
MethodParameters:
Name Flags
metricRegistry
name
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
1: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
ldc "ROOT"
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 1
start local 1 2: aload 1
invokevirtual ch.qos.logback.classic.Logger.iteratorForAppenders:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/util/Iterator;)Ljava/util/ArrayList;
astore 2
start local 2 3: aload 2
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory ch.qos.logback.classic.Logger java.util.ArrayList top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast ch.qos.logback.core.Appender
astore 3
start local 3 5: aload 3
instanceof ch.qos.logback.classic.AsyncAppender
ifeq 7
6: aload 0
aload 3
checkcast ch.qos.logback.classic.AsyncAppender
invokevirtual io.dropwizard.logging.DefaultLoggingFactory.flushAppender:(Lch/qos/logback/classic/AsyncAppender;)V
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 end local 1 8: goto 15
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory
StackMap stack: java.lang.InterruptedException
9: pop
10: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
11: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
goto 16
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
13: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
14: aload 5
athrow
15: StackMap locals:
StackMap stack:
getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
16: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
2 8 1 logger Lch/qos/logback/classic/Logger;
3 8 2 appenders Ljava/util/ArrayList<Lch/qos/logback/core/Appender<Lch/qos/logback/classic/spi/ILoggingEvent;>;>;
5 7 3 appender Lch/qos/logback/core/Appender<Lch/qos/logback/classic/spi/ILoggingEvent;>;
Exception table:
from to target type
1 8 9 Class java.lang.InterruptedException
1 11 12 any
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
1: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.stop:()V
2: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
ldc "ROOT"
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 1
start local 1 3: aload 1
invokevirtual ch.qos.logback.classic.Logger.detachAndStopAllAppenders:()V
4: new io.dropwizard.logging.DropwizardLayout
dup
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokestatic java.util.TimeZone.getDefault:()Ljava/util/TimeZone;
invokespecial io.dropwizard.logging.DropwizardLayout.<init>:(Lch/qos/logback/classic/LoggerContext;Ljava/util/TimeZone;)V
astore 2
start local 2 5: aload 2
invokevirtual io.dropwizard.logging.DropwizardLayout.start:()V
6: new ch.qos.logback.core.encoder.LayoutWrappingEncoder
dup
invokespecial ch.qos.logback.core.encoder.LayoutWrappingEncoder.<init>:()V
astore 3
start local 3 7: aload 3
aload 2
invokevirtual ch.qos.logback.core.encoder.LayoutWrappingEncoder.setLayout:(Lch/qos/logback/core/Layout;)V
8: new ch.qos.logback.core.ConsoleAppender
dup
invokespecial ch.qos.logback.core.ConsoleAppender.<init>:()V
astore 4
start local 4 9: aload 4
new io.dropwizard.logging.filter.ThresholdLevelFilterFactory
dup
invokespecial io.dropwizard.logging.filter.ThresholdLevelFilterFactory.<init>:()V
getstatic ch.qos.logback.classic.Level.INFO:Lch/qos/logback/classic/Level;
invokevirtual io.dropwizard.logging.filter.ThresholdLevelFilterFactory.build:(Lch/qos/logback/classic/Level;)Lch/qos/logback/core/filter/Filter;
invokevirtual ch.qos.logback.core.ConsoleAppender.addFilter:(Lch/qos/logback/core/filter/Filter;)V
10: aload 4
aload 3
invokevirtual ch.qos.logback.core.ConsoleAppender.setEncoder:(Lch/qos/logback/core/encoder/Encoder;)V
11: aload 4
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.core.ConsoleAppender.setContext:(Lch/qos/logback/core/Context;)V
12: aload 4
invokevirtual ch.qos.logback.core.ConsoleAppender.start:()V
13: aload 1
aload 4
invokevirtual ch.qos.logback.classic.Logger.addAppender:(Lch/qos/logback/core/Appender;)V
14: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.start:()V
end local 4 end local 3 end local 2 end local 1 15: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 5
17: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
18: aload 5
athrow
19: StackMap locals:
StackMap stack:
getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
20: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
3 15 1 logger Lch/qos/logback/classic/Logger;
5 15 2 formatter Lio/dropwizard/logging/DropwizardLayout;
7 15 3 layoutEncoder Lch/qos/logback/core/encoder/LayoutWrappingEncoder<Lch/qos/logback/classic/spi/ILoggingEvent;>;
9 15 4 consoleAppender Lch/qos/logback/core/ConsoleAppender<Lch/qos/logback/classic/spi/ILoggingEvent;>;
Exception table:
from to target type
1 16 16 any
private void flushAppender(ch.qos.logback.classic.AsyncAppender);
descriptor: (Lch/qos/logback/classic/AsyncAppender;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
ldc 100
invokestatic java.lang.Thread.sleep:(J)V
3: iinc 2 100
4: StackMap locals:
StackMap stack:
iload 2
aload 1
invokevirtual ch.qos.logback.classic.AsyncAppender.getMaxFlushTime:()I
if_icmpge 5
aload 1
invokevirtual ch.qos.logback.classic.AsyncAppender.getNumberOfElementsInQueue:()I
ifgt 2
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual ch.qos.logback.classic.AsyncAppender.getNumberOfElementsInQueue:()I
ifle 7
6: aload 1
new java.lang.StringBuilder
dup
aload 1
invokevirtual ch.qos.logback.classic.AsyncAppender.getNumberOfElementsInQueue:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " events may be discarded"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.AsyncAppender.addWarn:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 8 1 appender Lch/qos/logback/classic/AsyncAppender;
1 8 2 timeWaiting I
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
appender
private void configureInstrumentation(ch.qos.logback.classic.Logger, com.codahale.metrics.MetricRegistry);
descriptor: (Lch/qos/logback/classic/Logger;Lcom/codahale/metrics/MetricRegistry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new com.codahale.metrics.logback.InstrumentedAppender
dup
aload 2
invokespecial com.codahale.metrics.logback.InstrumentedAppender.<init>:(Lcom/codahale/metrics/MetricRegistry;)V
astore 3
start local 3 1: aload 3
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.setContext:(Lch/qos/logback/core/Context;)V
2: aload 3
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.start:()V
3: aload 1
aload 3
invokevirtual ch.qos.logback.classic.Logger.addAppender:(Lch/qos/logback/core/Appender;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 5 1 root Lch/qos/logback/classic/Logger;
0 5 2 metricRegistry Lcom/codahale/metrics/MetricRegistry;
1 5 3 appender Lcom/codahale/metrics/logback/InstrumentedAppender;
MethodParameters:
Name Flags
root
metricRegistry
private ch.qos.logback.classic.Logger configureLoggers(java.lang.String);
descriptor: (Ljava/lang/String;)Lch/qos/logback/classic/Logger;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=14, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
ldc "ROOT"
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 2
start local 2 1: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.reset:()V
2: new ch.qos.logback.classic.jul.LevelChangePropagator
dup
invokespecial ch.qos.logback.classic.jul.LevelChangePropagator.<init>:()V
astore 3
start local 3 3: aload 3
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.jul.LevelChangePropagator.setContext:(Lch/qos/logback/core/Context;)V
4: aload 3
iconst_1
invokevirtual ch.qos.logback.classic.jul.LevelChangePropagator.setResetJUL:(Z)V
5: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
aload 3
invokevirtual ch.qos.logback.classic.LoggerContext.addListener:(Lch/qos/logback/classic/spi/LoggerContextListener;)V
6: aload 2
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.level:Ljava/lang/String;
invokestatic io.dropwizard.logging.DefaultLoggingFactory.toLevel:(Ljava/lang/String;)Lch/qos/logback/classic/Level;
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
7: new io.dropwizard.logging.filter.ThresholdLevelFilterFactory
dup
invokespecial io.dropwizard.logging.filter.ThresholdLevelFilterFactory.<init>:()V
astore 4
start local 4 8: new io.dropwizard.logging.async.AsyncLoggingEventAppenderFactory
dup
invokespecial io.dropwizard.logging.async.AsyncLoggingEventAppenderFactory.<init>:()V
astore 5
start local 5 9: new io.dropwizard.logging.layout.DropwizardLayoutFactory
dup
invokespecial io.dropwizard.logging.layout.DropwizardLayoutFactory.<init>:()V
astore 6
start local 6 10: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggers:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.entrySet:()Lcom/google/common/collect/ImmutableSet;
invokevirtual com.google.common.collect.ImmutableSet.iterator:()Ljava/util/Iterator;
astore 8
goto 30
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory java.lang.String ch.qos.logback.classic.Logger ch.qos.logback.classic.jul.LevelChangePropagator io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory top java.util.Iterator
StackMap stack:
11: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 12: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 9
start local 9 13: aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast com.fasterxml.jackson.databind.JsonNode
astore 10
start local 10 14: aload 10
invokevirtual com.fasterxml.jackson.databind.JsonNode.isTextual:()Z
ifeq 17
15: aload 9
aload 10
invokevirtual com.fasterxml.jackson.databind.JsonNode.asText:()Ljava/lang/String;
invokestatic ch.qos.logback.classic.Level.valueOf:(Ljava/lang/String;)Lch/qos/logback/classic/Level;
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
16: goto 30
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory java.lang.String ch.qos.logback.classic.Logger ch.qos.logback.classic.jul.LevelChangePropagator io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory java.util.Map$Entry java.util.Iterator ch.qos.logback.classic.Logger com.fasterxml.jackson.databind.JsonNode
StackMap stack:
17: aload 10
invokevirtual com.fasterxml.jackson.databind.JsonNode.isObject:()Z
ifeq 29
18: invokestatic io.dropwizard.jackson.Jackson.newObjectMapper:()Lcom/fasterxml/jackson/databind/ObjectMapper;
aload 10
ldc Lio/dropwizard/logging/LoggerConfiguration;
invokevirtual com.fasterxml.jackson.databind.ObjectMapper.treeToValue:(Lcom/fasterxml/jackson/core/TreeNode;Ljava/lang/Class;)Ljava/lang/Object;
checkcast io.dropwizard.logging.LoggerConfiguration
astore 11
start local 11 19: goto 22
end local 11 StackMap locals:
StackMap stack: com.fasterxml.jackson.core.JsonProcessingException
20: astore 12
start local 12 21: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Wrong format of logger '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 12
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 12 start local 11 22: StackMap locals: io.dropwizard.logging.LoggerConfiguration
StackMap stack:
aload 9
aload 11
invokevirtual io.dropwizard.logging.LoggerConfiguration.getLevel:()Ljava/lang/String;
invokestatic io.dropwizard.logging.DefaultLoggingFactory.toLevel:(Ljava/lang/String;)Lch/qos/logback/classic/Level;
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
23: aload 9
aload 11
invokevirtual io.dropwizard.logging.LoggerConfiguration.isAdditive:()Z
invokevirtual ch.qos.logback.classic.Logger.setAdditive:(Z)V
24: aload 11
invokevirtual io.dropwizard.logging.LoggerConfiguration.getAppenders:()Lcom/google/common/collect/ImmutableList;
invokevirtual com.google.common.collect.ImmutableList.iterator:()Ljava/util/Iterator;
astore 13
goto 27
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory java.lang.String ch.qos.logback.classic.Logger ch.qos.logback.classic.jul.LevelChangePropagator io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory java.util.Map$Entry java.util.Iterator ch.qos.logback.classic.Logger com.fasterxml.jackson.databind.JsonNode io.dropwizard.logging.LoggerConfiguration top java.util.Iterator
StackMap stack:
25: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.dropwizard.logging.AppenderFactory
astore 12
start local 12 26: aload 9
aload 12
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
aload 1
aload 6
aload 4
aload 5
invokeinterface io.dropwizard.logging.AppenderFactory.build:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/String;Lio/dropwizard/logging/layout/LayoutFactory;Lio/dropwizard/logging/filter/LevelFilterFactory;Lio/dropwizard/logging/async/AsyncAppenderFactory;)Lch/qos/logback/core/Appender;
invokevirtual ch.qos.logback.classic.Logger.addAppender:(Lch/qos/logback/core/Appender;)V
end local 12 27: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
end local 11 28: goto 30
29: StackMap locals: io.dropwizard.logging.DefaultLoggingFactory java.lang.String ch.qos.logback.classic.Logger ch.qos.logback.classic.jul.LevelChangePropagator io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory java.util.Map$Entry java.util.Iterator ch.qos.logback.classic.Logger com.fasterxml.jackson.databind.JsonNode
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported format of logger '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 10 end local 9 end local 7 30: StackMap locals: io.dropwizard.logging.DefaultLoggingFactory java.lang.String ch.qos.logback.classic.Logger ch.qos.logback.classic.jul.LevelChangePropagator io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
31: aload 2
areturn
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 32 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 32 1 name Ljava/lang/String;
1 32 2 root Lch/qos/logback/classic/Logger;
3 32 3 propagator Lch/qos/logback/classic/jul/LevelChangePropagator;
8 32 4 levelFilterFactory Lio/dropwizard/logging/filter/LevelFilterFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
9 32 5 asyncAppenderFactory Lio/dropwizard/logging/async/AsyncAppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
10 32 6 layoutFactory Lio/dropwizard/logging/layout/LayoutFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
12 30 7 entry Ljava/util/Map$Entry<Ljava/lang/String;Lcom/fasterxml/jackson/databind/JsonNode;>;
13 30 9 logger Lch/qos/logback/classic/Logger;
14 30 10 jsonNode Lcom/fasterxml/jackson/databind/JsonNode;
19 20 11 configuration Lio/dropwizard/logging/LoggerConfiguration;
22 28 11 configuration Lio/dropwizard/logging/LoggerConfiguration;
21 22 12 e Lcom/fasterxml/jackson/core/JsonProcessingException;
26 27 12 appender Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
Exception table:
from to target type
18 19 20 Class com.fasterxml.jackson.core.JsonProcessingException
MethodParameters:
Name Flags
name
static ch.qos.logback.classic.Level toLevel(java.lang.String);
descriptor: (Ljava/lang/String;)Lch/qos/logback/classic/Level;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "false"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: getstatic ch.qos.logback.classic.Level.OFF:Lch/qos/logback/classic/Level;
areturn
2: StackMap locals:
StackMap stack:
ldc "true"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: getstatic ch.qos.logback.classic.Level.ALL:Lch/qos/logback/classic/Level;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getstatic ch.qos.logback.classic.Level.INFO:Lch/qos/logback/classic/Level;
invokestatic ch.qos.logback.classic.Level.toLevel:(Ljava/lang/String;Lch/qos/logback/classic/Level;)Lch/qos/logback/classic/Level;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 text Ljava/lang/String;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nullable()
MethodParameters:
Name Flags
text
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.MoreObjects.toStringHelper:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
1: ldc "level"
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.level:Ljava/lang/String;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
2: ldc "loggers"
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggers:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
3: ldc "appenders"
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.appenders:Lcom/google/common/collect/ImmutableList;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
4: invokevirtual com.google.common.base.MoreObjects$ToStringHelper.toString:()Ljava/lang/String;
5: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
}
SourceFile: "DefaultLoggingFactory.java"
InnerClasses:
public final ToStringHelper = com.google.common.base.MoreObjects$ToStringHelper of com.google.common.base.MoreObjects
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonTypeName(value = "default")