This version is old school.
Please find jQuery plugins on npm.
jQuery Client Side Logging
by Rémy Bach
This plugin allows you to store front end log/info/error messages on the server (note: you will need to have something set up on your server to handle the actual logging).
Versions
Version
Date
1.1.2
Jan 16, 2013