When udp is enabled then buffering does not make sense (if I understand RFC correctly: https://tools.ietf.org/html/rfc5426#section-3.1).
Multiple log messages are merged on syslog side, since UDP syslog server treats them as one line:
Jun 4 11:27:17 localhost nginx[47871]: Hello World!#12<135>Jun 04 11:27:19 localhost nginx[47871]: Hello World!