class LogSanitizer {

	public String sanitize(Object maybeContaminated, int maxLength) {
		String objAsString = null;
		if (maybeContaminated!=null) {
			objAsString = maybeContaminated.toString();
		}
		return sanitize(objAsString, maxLength);
	}

}