class org.flywaydb.commandline.ConsoleLog implements org.flywaydb.core.api.logging.Log
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.flywaydb.commandline.ConsoleLog
super_class: java.lang.Object
{
private final org.flywaydb.commandline.ConsoleLog$Level level;
descriptor: Lorg/flywaydb/commandline/ConsoleLog$Level;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.flywaydb.commandline.ConsoleLog$Level);
descriptor: (Lorg/flywaydb/commandline/ConsoleLog$Level;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.flywaydb.commandline.ConsoleLog.level:Lorg/flywaydb/commandline/ConsoleLog$Level;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/commandline/ConsoleLog;
0 3 1 level Lorg/flywaydb/commandline/ConsoleLog$Level;
MethodParameters:
Name Flags
level
public boolean isDebugEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.commandline.ConsoleLog.level:Lorg/flywaydb/commandline/ConsoleLog$Level;
getstatic org.flywaydb.commandline.ConsoleLog$Level.DEBUG:Lorg/flywaydb/commandline/ConsoleLog$Level;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/flywaydb/commandline/ConsoleLog;
public void debug(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.flywaydb.commandline.ConsoleLog.isDebugEnabled:()Z
ifeq 2
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "DEBUG: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/commandline/ConsoleLog;
0 3 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public void info(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
getfield org.flywaydb.commandline.ConsoleLog.level:Lorg/flywaydb/commandline/ConsoleLog$Level;
getstatic org.flywaydb.commandline.ConsoleLog$Level.INFO:Lorg/flywaydb/commandline/ConsoleLog$Level;
invokevirtual org.flywaydb.commandline.ConsoleLog$Level.compareTo:(Ljava/lang/Enum;)I
ifgt 2
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/commandline/ConsoleLog;
0 3 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public void warn(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "WARNING: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/flywaydb/commandline/ConsoleLog;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public void error(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "ERROR: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/flywaydb/commandline/ConsoleLog;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public void error(java.lang.String, java.lang.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "ERROR: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 2
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintStream;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/commandline/ConsoleLog;
0 3 1 message Ljava/lang/String;
0 3 2 e Ljava/lang/Exception;
MethodParameters:
Name Flags
message
e
}
SourceFile: "ConsoleLog.java"
NestMembers:
org.flywaydb.commandline.ConsoleLog$Level
InnerClasses:
public final Level = org.flywaydb.commandline.ConsoleLog$Level of org.flywaydb.commandline.ConsoleLog