Hi @mperdeck,
Library is awesome, I want to do this pr because we can not send non-batch items when closing page or window. It is common issue trying to send request when closing page or window and it is common solution to send request synchronous to be sure that request has gone. So I put sendBatchSync method to Appender and it triggers AjaxAppender.sendLogItemsSync method.
Hi @mperdeck, Library is awesome, I want to do this pr because we can not send non-batch items when closing page or window. It is common issue trying to send request when closing page or window and it is common solution to send request synchronous to be sure that request has gone. So I put sendBatchSync method to Appender and it triggers AjaxAppender.sendLogItemsSync method.