Class Logs
java.lang.Object
org.apache.derby.impl.tools.dblook.Logs
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static boolean
private static PrintWriter
private static PrintWriter
private static String
private static boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
cleanup()
static void
static void
static void
static boolean
initLogs
(String logFileName, String ddlFileName, boolean appendLogs, boolean doVerbose, String endOfStmt) static void
static void
reportMessage
(String key) static void
reportMessage
(String key, String value) static void
reportMessage
(String key, String[] values) static void
reportString
(String str) static String
unRollExceptions
(SQLException sqlE) static void
static void
static void
writeToNewDDL
(String sql)
-
Field Details
-
logFile
-
ddlFile
-
stmtEnd
-
verbose
private static boolean verbose -
atLeastOneDebug
private static boolean atLeastOneDebug
-
-
Constructor Details
-
Logs
public Logs()
-
-
Method Details
-
initLogs
-
report
-
reportString
-
reportMessage
-
reportMessage
-
reportMessage
-
debug
-
debug
-
debug
-
unRollExceptions
-
writeToNewDDL
-
writeStmtEndToNewDDL
public static void writeStmtEndToNewDDL() -
writeNewlineToNewDDL
public static void writeNewlineToNewDDL() -
cleanup
public static boolean cleanup()
-