*
* @return GelfMessage
*/
public GelfMessage build() {
GelfMessage gelfMessage = new GelfMessage(shortMessage, fullMessage, javaTimestamp, level);
gelfMessage.addFields(additonalFields);
gelfMessage.setMaximumMessageSize(maximumMessageSize);
gelfMessage.setVersion(version);
gelfMessage.setHost(host);
gelfMessage.setJavaTimestamp(javaTimestamp);
gelfMessage.setFacility(facility);
return gelfMessage;
}