#include <GL/glew.h>
#include "editor.h"
#include <util.h>

#include <QtWidgets/QApplication>

int main(int argc, char *argv[]) {
	freopen(util::savePath("editor_log.txt").c_str(), "a", stderr);
	QApplication a(argc, argv);
	Editor w;
	w.show();
	return a.exec();
}

#include <GL/glew.h>
#include "editor.h"
#include <util.h>

#include <QtWidgets/QApplication>

int main(int argc, char *argv[]) {
	freopen(util::savePath("editor_log.txt").c_str(), "a", stderr);
	util::logWithTime("Editor started");
	QApplication a(argc, argv);
	Editor w;
	w.show();
	int result = a.exec();
	util::logWithTime("Editor ended");
	return result;
}

Add started and ended timestamps
Add started and ended timestamps

Add "Editor started" and "Editor ended" timestamps to editor log.
