Examples of SimpleLog


Examples of org.hsqldb.lib.SimpleLog

        }
    }

    void postClose(boolean keep) throws HsqlException {

        SimpleLog appLog = database.logger.appLog;

        if (cacheReadonly) {
            return;
        }

        try {
            appLog.sendLine(SimpleLog.LOG_NORMAL,
                            "DataFileCache.postClose(" + keep + ") : start");

            if (keep) {
                database.getProperties().setProperty(
                    HsqlDatabaseProperties.hsqldb_cache_version,
                    HsqlDatabaseProperties.VERSION_STRING_1_7_0);
                database.getProperties().save();
                appLog.sendLine(SimpleLog.LOG_NORMAL,
                                "DataFileCache.postClose() : save props");

                if (fileModified) {
                    backup();
                }
            } else {
                fa.removeElement(backupFileName);
                appLog.sendLine(SimpleLog.LOG_NORMAL,
                                "DataFileCache.postClose() : delete backup");
                deleteOrResetFreePos(database, fileName);
                appLog.sendLine(SimpleLog.LOG_NORMAL,
                                "DataFileCache.postClose() : delete file");
            }
        } catch (IOException e) {
            throw new HsqlException(
                e, Trace.getMessage(Trace.GENERAL_IO_ERROR),
View Full Code Here

Examples of org.hsqldb_voltpatches.lib.SimpleLog

    private boolean  logsStatements;
    private boolean  logStatements;
    private boolean  syncFile = false;

    public Logger() {
        appLog = new SimpleLog(null, SimpleLog.LOG_NONE, false);
    }
View Full Code Here

Examples of vg.logging.SimpleLog

public class Main {
  public static void main(String[] args) {
    try {
      // set all system services------------
      VisualGraph.setLog(new SimpleLog());
      VisualGraph.setWindowMessage(new WindowMessage());
      VisualGraph.setConfiguration(SimpleConfiguration.getInstance());
      VisualGraph.setProgressManager(new SimpleProgressManager());

      VisualGraph.run();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.