|sendBatch Method||Flushes the batch buffer. Use for example when the page is unloaded.|
|setOptions Method||Sets options for an ajax appender.|
An AjaxAppender sends log messages to the server.
Loggers do not process log messages themselves. Instead, they pass them on to an appender. That way, the options that have to do with for example sending log messages to the server are centralized, making them more easy to manage.
JSNLog creates a default appender, so there is no need to create one yourself in order to start logging. Details