A client-side JavaScript library for sending events to a cloud-log server