kutuluk / loglevel-plugin-remote

A loglevel plugin for sending browser logs to a server
MIT License
102 stars 36 forks source link

Added a flush() api - to be able to flush logs manually #36

Open anubhavsahoo opened 3 years ago

anubhavsahoo commented 3 years ago

At times we need to manually flush logs in queue. For Example

  1. on page onunload
  2. logout

So need a flush api to manually all pending logs