public abstract class org.springframework.boot.logging.LoggingSystem
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.boot.logging.LoggingSystem
super_class: java.lang.Object
{
public static final java.lang.String SYSTEM_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String NONE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "none"
public static final java.lang.String ROOT_LOGGER_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "ROOT"
private static final org.springframework.boot.logging.LoggingSystemFactory SYSTEM_FACTORY;
descriptor: Lorg/springframework/boot/logging/LoggingSystemFactory;
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: ldc Lorg/springframework/boot/logging/LoggingSystem;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
putstatic org.springframework.boot.logging.LoggingSystem.SYSTEM_PROPERTY:Ljava/lang/String;
1: invokestatic org.springframework.boot.logging.LoggingSystemFactory.fromSpringFactories:()Lorg/springframework/boot/logging/LoggingSystemFactory;
putstatic org.springframework.boot.logging.LoggingSystem.SYSTEM_FACTORY:Lorg/springframework/boot/logging/LoggingSystemFactory;
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 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/LoggingSystem;
public org.springframework.boot.logging.LoggingSystemProperties getSystemProperties(org.springframework.core.env.ConfigurableEnvironment);
descriptor: (Lorg/springframework/core/env/ConfigurableEnvironment;)Lorg/springframework/boot/logging/LoggingSystemProperties;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.springframework.boot.logging.LoggingSystemProperties
dup
aload 1
invokespecial org.springframework.boot.logging.LoggingSystemProperties.<init>:(Lorg/springframework/core/env/Environment;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/LoggingSystem;
0 1 1 environment Lorg/springframework/core/env/ConfigurableEnvironment;
MethodParameters:
Name Flags
environment
public abstract void beforeInitialize();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public void initialize(org.springframework.boot.logging.LoggingInitializationContext, java.lang.String, org.springframework.boot.logging.LogFile);
descriptor: (Lorg/springframework/boot/logging/LoggingInitializationContext;Ljava/lang/String;Lorg/springframework/boot/logging/LogFile;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/LoggingSystem;
0 1 1 initializationContext Lorg/springframework/boot/logging/LoggingInitializationContext;
0 1 2 configLocation Ljava/lang/String;
0 1 3 logFile Lorg/springframework/boot/logging/LogFile;
MethodParameters:
Name Flags
initializationContext
configLocation
logFile
public void cleanUp();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/LoggingSystem;
public java.lang.Runnable getShutdownHandler();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/LoggingSystem;
public java.util.Set<org.springframework.boot.logging.LogLevel> getSupportedLogLevels();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lorg/springframework/boot/logging/LogLevel;
invokestatic java.util.EnumSet.allOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/LoggingSystem;
Signature: ()Ljava/util/Set<Lorg/springframework/boot/logging/LogLevel;>;
public void setLogLevel(java.lang.String, org.springframework.boot.logging.LogLevel);
descriptor: (Ljava/lang/String;Lorg/springframework/boot/logging/LogLevel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
ldc "Unable to set log level"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/LoggingSystem;
0 1 1 loggerName Ljava/lang/String;
0 1 2 level Lorg/springframework/boot/logging/LogLevel;
MethodParameters:
Name Flags
loggerName
level
public java.util.List<org.springframework.boot.logging.LoggerConfiguration> getLoggerConfigurations();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Unable to get logger configurations"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/LoggingSystem;
Signature: ()Ljava/util/List<Lorg/springframework/boot/logging/LoggerConfiguration;>;
public org.springframework.boot.logging.LoggerConfiguration getLoggerConfiguration(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/boot/logging/LoggerConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "Unable to get logger configuration"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/LoggingSystem;
0 1 1 loggerName Ljava/lang/String;
MethodParameters:
Name Flags
loggerName
public static org.springframework.boot.logging.LoggingSystem get(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Lorg/springframework/boot/logging/LoggingSystem;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic org.springframework.boot.logging.LoggingSystem.SYSTEM_PROPERTY:Ljava/lang/String;
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 5
2: ldc "none"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new org.springframework.boot.logging.LoggingSystem$NoOpLoggingSystem
dup
invokespecial org.springframework.boot.logging.LoggingSystem$NoOpLoggingSystem.<init>:()V
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokestatic org.springframework.boot.logging.LoggingSystem.get:(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/springframework/boot/logging/LoggingSystem;
areturn
5: StackMap locals:
StackMap stack:
getstatic org.springframework.boot.logging.LoggingSystem.SYSTEM_FACTORY:Lorg/springframework/boot/logging/LoggingSystemFactory;
aload 0
invokeinterface org.springframework.boot.logging.LoggingSystemFactory.getLoggingSystem:(Ljava/lang/ClassLoader;)Lorg/springframework/boot/logging/LoggingSystem;
astore 2
start local 2 6: aload 2
ifnull 7
iconst_1
goto 8
StackMap locals: org.springframework.boot.logging.LoggingSystem
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: ldc "No suitable logging system located"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 classLoader Ljava/lang/ClassLoader;
1 10 1 loggingSystemClassName Ljava/lang/String;
6 10 2 loggingSystem Lorg/springframework/boot/logging/LoggingSystem;
MethodParameters:
Name Flags
classLoader
private static org.springframework.boot.logging.LoggingSystem get(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/springframework/boot/logging/LoggingSystem;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic org.springframework.util.ClassUtils.forName:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
astore 2
start local 2 1: aload 2
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/ClassLoader;
aastore
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 3
start local 3 2: aload 3
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
3: aload 3
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.boot.logging.LoggingSystem
4: areturn
end local 3 end local 2 5: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 6: new java.lang.IllegalStateException
dup
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 classLoader Ljava/lang/ClassLoader;
0 7 1 loggingSystemClassName Ljava/lang/String;
1 5 2 systemClass Ljava/lang/Class<*>;
2 5 3 constructor Ljava/lang/reflect/Constructor<*>;
6 7 2 ex Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
classLoader
loggingSystemClassName
}
SourceFile: "LoggingSystem.java"
NestMembers:
org.springframework.boot.logging.LoggingSystem$NoOpLoggingSystem
InnerClasses:
NoOpLoggingSystem = org.springframework.boot.logging.LoggingSystem$NoOpLoggingSystem of org.springframework.boot.logging.LoggingSystem