Package cx.fbn.nevernote.utilities

Examples of cx.fbn.nevernote.utilities.ApplicationLogger


  //*********************************************
  public CounterRunner(String logname, int t, String u, String i, String r, String uid, String pswd, String cpswd) {
    type = t;

    threadLock = new QMutex();
    logger = new ApplicationLogger(logname);
//    setAutoDelete(false); 
    conn = new DatabaseConnection(logger, u, i, r, uid, pswd, cpswd, 300);
    keepRunning = true;
    notebookSignal = new NotebookSignal();
    tagSignal = new TagSignal();
View Full Code Here


      System.exit(16);
    }
    setObjectName("mainWindow");
//    thread().setPriority(Thread.MAX_PRIORITY);
   
    logger = new ApplicationLogger("nevernote.log");
    logger.log(logger.HIGH, "Starting Application");
   
    decryptOnShutdown = false;
    encryptOnShutdown = false;
    conn.checkDatabaseVersion();
View Full Code Here

     * Open the internal database, or create if not present
     *
     * @throws InitializationException when opening the database fails, e.g. because another process has it locked
     */
    private static DatabaseConnection setupDatabaseConnection() throws InitializationException {
      ApplicationLogger logger = new ApplicationLogger("nevernote-database.log");
     
      File f = Global.getFileManager().getDbDirFile(Global.databaseName + ".h2.db");
      File fr = Global.getFileManager().getDbDirFile(Global.resourceDatabaseName + ".h2.db");
      File fi = Global.getFileManager().getDbDirFile(Global.resourceDatabaseName + ".h2.db");
    if (!f.exists())
View Full Code Here

TOP

Related Classes of cx.fbn.nevernote.utilities.ApplicationLogger

Copyright © 2018 www.massapicom. 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.