class org.flywaydb.commandline.FileLog implements org.flywaydb.core.api.logging.Log
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.flywaydb.commandline.FileLog
  super_class: java.lang.Object
{
  private final java.nio.file.Path path;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.flywaydb.commandline.ConsoleLog$Level level;
    descriptor: Lorg/flywaydb/commandline/ConsoleLog$Level;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(java.nio.file.Path, org.flywaydb.commandline.ConsoleLog$Level);
    descriptor: (Ljava/nio/file/Path;Lorg/flywaydb/commandline/ConsoleLog$Level;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.flywaydb.commandline.FileLog this
        start local 1 // java.nio.file.Path path
        start local 2 // org.flywaydb.commandline.ConsoleLog$Level level
         0: .line 34
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 35
            aload 0 /* this */
            aload 1 /* path */
            putfield org.flywaydb.commandline.FileLog.path:Ljava/nio/file/Path;
         2: .line 36
            aload 0 /* this */
            aload 2 /* level */
            putfield org.flywaydb.commandline.FileLog.level:Lorg/flywaydb/commandline/ConsoleLog$Level;
         3: .line 37
            return
        end local 2 // org.flywaydb.commandline.ConsoleLog$Level level
        end local 1 // java.nio.file.Path path
        end local 0 // org.flywaydb.commandline.FileLog this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/flywaydb/commandline/FileLog;
            0    4     1   path  Ljava/nio/file/Path;
            0    4     2  level  Lorg/flywaydb/commandline/ConsoleLog$Level;
    MethodParameters:
       Name  Flags
      path   
      level  

  public boolean isDebugEnabled();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.flywaydb.commandline.FileLog this
         0: .line 41
            aload 0 /* this */
            getfield org.flywaydb.commandline.FileLog.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 // org.flywaydb.commandline.FileLog this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/flywaydb/commandline/FileLog;

  public void debug(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.flywaydb.commandline.FileLog this
        start local 1 // java.lang.String message
         0: .line 46
            aload 0 /* this */
            invokevirtual org.flywaydb.commandline.FileLog.isDebugEnabled:()Z
            ifeq 2
         1: .line 47
            aload 0 /* this */
            ldc "DEBUG"
            aload 1 /* message */
            invokevirtual org.flywaydb.commandline.FileLog.writeLogMessage:(Ljava/lang/String;Ljava/lang/String;)V
         2: .line 49
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String message
        end local 0 // org.flywaydb.commandline.FileLog this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lorg/flywaydb/commandline/FileLog;
            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 // org.flywaydb.commandline.FileLog this
        start local 1 // java.lang.String message
         0: .line 53
            aload 0 /* this */
            getfield org.flywaydb.commandline.FileLog.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: .line 54
            aload 0 /* this */
            aload 1 /* message */
            invokevirtual org.flywaydb.commandline.FileLog.writeLogMessage:(Ljava/lang/String;)V
         2: .line 56
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String message
        end local 0 // org.flywaydb.commandline.FileLog this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lorg/flywaydb/commandline/FileLog;
            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=3, locals=2, args_size=2
        start local 0 // org.flywaydb.commandline.FileLog this
        start local 1 // java.lang.String message
         0: .line 60
            aload 0 /* this */
            ldc "WARNING"
            aload 1 /* message */
            invokevirtual org.flywaydb.commandline.FileLog.writeLogMessage:(Ljava/lang/String;Ljava/lang/String;)V
         1: .line 61
            return
        end local 1 // java.lang.String message
        end local 0 // org.flywaydb.commandline.FileLog this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/flywaydb/commandline/FileLog;
            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=3, locals=2, args_size=2
        start local 0 // org.flywaydb.commandline.FileLog this
        start local 1 // java.lang.String message
         0: .line 65
            aload 0 /* this */
            ldc "ERROR"
            aload 1 /* message */
            invokevirtual org.flywaydb.commandline.FileLog.writeLogMessage:(Ljava/lang/String;Ljava/lang/String;)V
         1: .line 66
            return
        end local 1 // java.lang.String message
        end local 0 // org.flywaydb.commandline.FileLog this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/flywaydb/commandline/FileLog;
            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=5, args_size=3
        start local 0 // org.flywaydb.commandline.FileLog this
        start local 1 // java.lang.String message
        start local 2 // java.lang.Exception e
         0: .line 70
            new java.io.StringWriter
            dup
            invokespecial java.io.StringWriter.<init>:()V
            astore 3 /* stringWriter */
        start local 3 // java.io.StringWriter stringWriter
         1: .line 71
            aload 2 /* e */
            new java.io.PrintWriter
            dup
            aload 3 /* stringWriter */
            invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
            invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintWriter;)V
         2: .line 72
            aload 3 /* stringWriter */
            invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
            astore 4 /* stackTrace */
        start local 4 // java.lang.String stackTrace
         3: .line 74
            aload 0 /* this */
            ldc "ERROR"
            aload 1 /* message */
            invokevirtual org.flywaydb.commandline.FileLog.writeLogMessage:(Ljava/lang/String;Ljava/lang/String;)V
         4: .line 75
            aload 0 /* this */
            aload 4 /* stackTrace */
            invokevirtual org.flywaydb.commandline.FileLog.writeLogMessage:(Ljava/lang/String;)V
         5: .line 76
            return
        end local 4 // java.lang.String stackTrace
        end local 3 // java.io.StringWriter stringWriter
        end local 2 // java.lang.Exception e
        end local 1 // java.lang.String message
        end local 0 // org.flywaydb.commandline.FileLog this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    6     0          this  Lorg/flywaydb/commandline/FileLog;
            0    6     1       message  Ljava/lang/String;
            0    6     2             e  Ljava/lang/Exception;
            1    6     3  stringWriter  Ljava/io/StringWriter;
            3    6     4    stackTrace  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      message  
      e        

  private void writeLogMessage(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // org.flywaydb.commandline.FileLog this
        start local 1 // java.lang.String prefix
        start local 2 // java.lang.String message
         0: .line 79
            new java.lang.StringBuilder
            dup
            aload 1 /* prefix */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ": "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 2 /* message */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* logMessage */
        start local 3 // java.lang.String logMessage
         1: .line 80
            aload 0 /* this */
            aload 3 /* logMessage */
            invokevirtual org.flywaydb.commandline.FileLog.writeLogMessage:(Ljava/lang/String;)V
         2: .line 81
            return
        end local 3 // java.lang.String logMessage
        end local 2 // java.lang.String message
        end local 1 // java.lang.String prefix
        end local 0 // org.flywaydb.commandline.FileLog this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0        this  Lorg/flywaydb/commandline/FileLog;
            0    3     1      prefix  Ljava/lang/String;
            0    3     2     message  Ljava/lang/String;
            1    3     3  logMessage  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      prefix   
      message  

  private void writeLogMessage(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // org.flywaydb.commandline.FileLog this
        start local 1 // java.lang.String logMessage
         0: .line 85
            aload 0 /* this */
            getfield org.flywaydb.commandline.FileLog.path:Ljava/nio/file/Path;
            new java.lang.StringBuilder
            dup
            aload 1 /* logMessage */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.String.getBytes:()[B
            iconst_2
            anewarray java.nio.file.OpenOption
            dup
            iconst_0
            getstatic java.nio.file.StandardOpenOption.APPEND:Ljava/nio/file/StandardOpenOption;
            aastore
            dup
            iconst_1
            getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
            aastore
            invokestatic java.nio.file.Files.write:(Ljava/nio/file/Path;[B[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path;
            pop
         1: .line 86
            goto 4
      StackMap locals:
      StackMap stack: java.io.IOException
         2: astore 2 /* exception */
        start local 2 // java.io.IOException exception
         3: .line 87
            new org.flywaydb.core.api.FlywayException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Could not write to file at "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.flywaydb.commandline.FileLog.path:Ljava/nio/file/Path;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* exception */
            invokespecial org.flywaydb.core.api.FlywayException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.io.IOException exception
         4: .line 89
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String logMessage
        end local 0 // org.flywaydb.commandline.FileLog this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0        this  Lorg/flywaydb/commandline/FileLog;
            0    5     1  logMessage  Ljava/lang/String;
            3    4     2   exception  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.io.IOException
    MethodParameters:
            Name  Flags
      logMessage  
}
SourceFile: "FileLog.java"
InnerClasses:
  public final Level = org.flywaydb.commandline.ConsoleLog$Level of org.flywaydb.commandline.ConsoleLog