@Override
	public String prepareLogMessage(int type, String msg, Throwable throwable) {
		StringWriter stackTrace = new StringWriter();
		if (throwable != null) {
			throwable.printStackTrace(new PrintWriter(stackTrace));
		}

		return (getDate() + "\t" + Logger.MSG_TYPE_STRING[type] + ": " + msg + stackTrace.toString());
	}