public abstract class reactor.util.Loggers
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: reactor.util.Loggers
super_class: java.lang.Object
{
public static final java.lang.String FALLBACK_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "reactor.logging.fallback"
private static java.util.function.Function<java.lang.String, ? extends reactor.util.Logger> LOGGER_FACTORY;
descriptor: Ljava/util/function/Function;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/function/Function<Ljava/lang/String;+Lreactor/util/Logger;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic reactor.util.Loggers.resetLoggerFactory:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void resetLoggerFactory();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic reactor.util.Loggers.useSl4jLoggers:()V
1: goto 7
2: StackMap locals:
StackMap stack: java.lang.Throwable
pop
3: invokestatic reactor.util.Loggers.isFallbackToJdk:()Z
ifeq 6
4: invokestatic reactor.util.Loggers.useJdkLoggers:()V
5: goto 7
6: StackMap locals:
StackMap stack:
invokestatic reactor.util.Loggers.useConsoleLoggers:()V
7: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
static boolean isFallbackToJdk();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "JDK"
ldc "reactor.logging.fallback"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static void useConsoleLoggers();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: ldc Lreactor/util/Loggers;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 0
start local 0 1: new reactor.util.Loggers$ConsoleLoggerFactory
dup
iconst_0
invokespecial reactor.util.Loggers$ConsoleLoggerFactory.<init>:(Z)V
astore 1
start local 1 2: aload 1
aload 0
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast reactor.util.Logger
ldc "Using Console logging"
invokeinterface reactor.util.Logger.debug:(Ljava/lang/String;)V
3: aload 1
putstatic reactor.util.Loggers.LOGGER_FACTORY:Ljava/util/function/Function;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 name Ljava/lang/String;
2 5 1 loggerFactory Ljava/util/function/Function<Ljava/lang/String;Lreactor/util/Logger;>;
public static void useVerboseConsoleLoggers();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: ldc Lreactor/util/Loggers;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 0
start local 0 1: new reactor.util.Loggers$ConsoleLoggerFactory
dup
iconst_1
invokespecial reactor.util.Loggers$ConsoleLoggerFactory.<init>:(Z)V
astore 1
start local 1 2: aload 1
aload 0
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast reactor.util.Logger
ldc "Using Verbose Console logging"
invokeinterface reactor.util.Logger.debug:(Ljava/lang/String;)V
3: aload 1
putstatic reactor.util.Loggers.LOGGER_FACTORY:Ljava/util/function/Function;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 name Ljava/lang/String;
2 5 1 loggerFactory Ljava/util/function/Function<Ljava/lang/String;Lreactor/util/Logger;>;
public static void useCustomLoggers(java.util.function.Function<java.lang.String, ? extends reactor.util.Logger>);
descriptor: (Ljava/util/function/Function;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: ldc Lreactor/util/Loggers;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast reactor.util.Logger
ldc "Using custom logging"
invokeinterface reactor.util.Logger.debug:(Ljava/lang/String;)V
2: aload 0
putstatic reactor.util.Loggers.LOGGER_FACTORY:Ljava/util/function/Function;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 loggerFactory Ljava/util/function/Function<Ljava/lang/String;+Lreactor/util/Logger;>;
1 4 1 name Ljava/lang/String;
Signature: (Ljava/util/function/Function<Ljava/lang/String;+Lreactor/util/Logger;>;)V
MethodParameters:
Name Flags
loggerFactory final
public static void useJdkLoggers();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: ldc Lreactor/util/Loggers;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 0
start local 0 1: new reactor.util.Loggers$JdkLoggerFactory
dup
invokespecial reactor.util.Loggers$JdkLoggerFactory.<init>:()V
astore 1
start local 1 2: aload 1
aload 0
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast reactor.util.Logger
ldc "Using JDK logging framework"
invokeinterface reactor.util.Logger.debug:(Ljava/lang/String;)V
3: aload 1
putstatic reactor.util.Loggers.LOGGER_FACTORY:Ljava/util/function/Function;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 name Ljava/lang/String;
2 5 1 loggerFactory Ljava/util/function/Function<Ljava/lang/String;Lreactor/util/Logger;>;
public static void useSl4jLoggers();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: ldc Lreactor/util/Loggers;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 0
start local 0 1: new reactor.util.Loggers$Slf4JLoggerFactory
dup
invokespecial reactor.util.Loggers$Slf4JLoggerFactory.<init>:()V
astore 1
start local 1 2: aload 1
aload 0
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast reactor.util.Logger
ldc "Using Slf4j logging framework"
invokeinterface reactor.util.Logger.debug:(Ljava/lang/String;)V
3: aload 1
putstatic reactor.util.Loggers.LOGGER_FACTORY:Ljava/util/function/Function;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 name Ljava/lang/String;
2 5 1 loggerFactory Ljava/util/function/Function<Ljava/lang/String;Lreactor/util/Logger;>;
public static reactor.util.Logger getLogger(java.lang.String);
descriptor: (Ljava/lang/String;)Lreactor/util/Logger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic reactor.util.Loggers.LOGGER_FACTORY:Ljava/util/function/Function;
aload 0
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast reactor.util.Logger
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public static reactor.util.Logger getLogger(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lreactor/util/Logger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic reactor.util.Loggers.LOGGER_FACTORY:Ljava/util/function/Function;
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast reactor.util.Logger
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cls Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Lreactor/util/Logger;
MethodParameters:
Name Flags
cls
void <init>();
descriptor: ()V
flags: (0x0000)
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 Lreactor/util/Loggers;
}
SourceFile: "Loggers.java"
NestMembers:
reactor.util.Loggers$ConsoleLogger reactor.util.Loggers$ConsoleLoggerFactory reactor.util.Loggers$JdkLogger reactor.util.Loggers$JdkLoggerFactory reactor.util.Loggers$Slf4JLogger reactor.util.Loggers$Slf4JLoggerFactory
InnerClasses:
final ConsoleLogger = reactor.util.Loggers$ConsoleLogger of reactor.util.Loggers
private final ConsoleLoggerFactory = reactor.util.Loggers$ConsoleLoggerFactory of reactor.util.Loggers
final JdkLogger = reactor.util.Loggers$JdkLogger of reactor.util.Loggers
private JdkLoggerFactory = reactor.util.Loggers$JdkLoggerFactory of reactor.util.Loggers
private Slf4JLogger = reactor.util.Loggers$Slf4JLogger of reactor.util.Loggers
private Slf4JLoggerFactory = reactor.util.Loggers$Slf4JLoggerFactory of reactor.util.Loggers