public class ch.qos.logback.classic.BasicConfigurator extends ch.qos.logback.core.spi.ContextAwareBase implements ch.qos.logback.classic.spi.Configurator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.classic.BasicConfigurator
super_class: ch.qos.logback.core.spi.ContextAwareBase
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial ch.qos.logback.core.spi.ContextAwareBase.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/classic/BasicConfigurator;
public void configure(ch.qos.logback.classic.LoggerContext);
descriptor: (Lch/qos/logback/classic/LoggerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
ldc "Setting up default configuration."
invokevirtual ch.qos.logback.classic.BasicConfigurator.addInfo:(Ljava/lang/String;)V
1: new ch.qos.logback.core.ConsoleAppender
dup
invokespecial ch.qos.logback.core.ConsoleAppender.<init>:()V
astore 2
start local 2 2: aload 2
aload 1
invokevirtual ch.qos.logback.core.ConsoleAppender.setContext:(Lch/qos/logback/core/Context;)V
3: aload 2
ldc "console"
invokevirtual ch.qos.logback.core.ConsoleAppender.setName:(Ljava/lang/String;)V
4: new ch.qos.logback.core.encoder.LayoutWrappingEncoder
dup
invokespecial ch.qos.logback.core.encoder.LayoutWrappingEncoder.<init>:()V
astore 3
start local 3 5: aload 3
aload 1
invokevirtual ch.qos.logback.core.encoder.LayoutWrappingEncoder.setContext:(Lch/qos/logback/core/Context;)V
6: new ch.qos.logback.classic.layout.TTLLLayout
dup
invokespecial ch.qos.logback.classic.layout.TTLLLayout.<init>:()V
astore 4
start local 4 7: aload 4
aload 1
invokevirtual ch.qos.logback.classic.layout.TTLLLayout.setContext:(Lch/qos/logback/core/Context;)V
8: aload 4
invokevirtual ch.qos.logback.classic.layout.TTLLLayout.start:()V
9: aload 3
aload 4
invokevirtual ch.qos.logback.core.encoder.LayoutWrappingEncoder.setLayout:(Lch/qos/logback/core/Layout;)V
10: aload 2
aload 3
invokevirtual ch.qos.logback.core.ConsoleAppender.setEncoder:(Lch/qos/logback/core/encoder/Encoder;)V
11: aload 2
invokevirtual ch.qos.logback.core.ConsoleAppender.start:()V
12: aload 1
ldc "ROOT"
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 5
start local 5 13: aload 5
aload 2
invokevirtual ch.qos.logback.classic.Logger.addAppender:(Lch/qos/logback/core/Appender;)V
14: return
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 15 0 this Lch/qos/logback/classic/BasicConfigurator;
0 15 1 lc Lch/qos/logback/classic/LoggerContext;
2 15 2 ca Lch/qos/logback/core/ConsoleAppender<Lch/qos/logback/classic/spi/ILoggingEvent;>;
5 15 3 encoder Lch/qos/logback/core/encoder/LayoutWrappingEncoder<Lch/qos/logback/classic/spi/ILoggingEvent;>;
7 15 4 layout Lch/qos/logback/classic/layout/TTLLLayout;
13 15 5 rootLogger Lch/qos/logback/classic/Logger;
MethodParameters:
Name Flags
lc
}
SourceFile: "BasicConfigurator.java"