@Override
	public void run() {
		if (parent != null)
			return;
		while (logQueue.size() != 0) {
			LogItem i = logQueue.pop();
			if (i.thrownOf() != null)
				Cogbot.getJLogger().log(i.levelOf(), i.messageOf(), i.thrownOf());
			else
				Cogbot.getJLogger().log(i.levelOf(), i.messageOf());
		}
	}