java.lang.Object
org.apache.derby.impl.tools.dblook.Logs

public class Logs extends Object
  • Field Details

    • logFile

      private static PrintWriter logFile
    • ddlFile

      private static PrintWriter ddlFile
    • stmtEnd

      private static String stmtEnd
    • verbose

      private static boolean verbose
    • atLeastOneDebug

      private static boolean atLeastOneDebug
  • Constructor Details

    • Logs

      public Logs()
  • Method Details

    • initLogs

      public static boolean initLogs(String logFileName, String ddlFileName, boolean appendLogs, boolean doVerbose, String endOfStmt)
    • report

      public static void report(String msg)
    • reportString

      public static void reportString(String str)
    • reportMessage

      public static void reportMessage(String key)
    • reportMessage

      public static void reportMessage(String key, String value)
    • reportMessage

      public static void reportMessage(String key, String[] values)
    • debug

      public static void debug(Exception e)
    • debug

      public static void debug(String key, String value)
    • debug

      public static void debug(String key, String[] values)
    • unRollExceptions

      public static String unRollExceptions(SQLException sqlE)
    • writeToNewDDL

      public static void writeToNewDDL(String sql)
    • writeStmtEndToNewDDL

      public static void writeStmtEndToNewDDL()
    • writeNewlineToNewDDL

      public static void writeNewlineToNewDDL()
    • cleanup

      public static boolean cleanup()