Code Monkey home page Code Monkey logo

jslogger's Introduction

JSLogger - Log errors and events from your Javascript app

Build Status

##Why use it?

  • Keep track of your clientside errors.
  • Monitor your user's activity through events.
  • Investigate what browser platforms generate more errors.
  • Keep your logs in our cloud so your servers don't get overloaded.
  • Manage your logs from our Web interface.

##How to use it?

  • Include the script in your web page, preferably before any other script: <script type="text/javascript" src="//jslogger.com/jslogger.js"></script> <script type="text/javascript">window.jslogger = new JSLogger();</script>

  • Watch your logs on our site.

##How to track?

All Javascript errors in your site will be logged to our server by default. But you can also log and track events on your own.

###Logs

To log errors or other types of notifications use the .log(data) function

jslogger.log("I am an exception")
jslogger.log({exception: {name: "SignupFail", message: "The signup request failed."}})

###Events

To log special events use the .event(data) function

jslogger.event("The signup button was clicked.")
jslogger.event({signup: {from: "Header red button"}})

##Options

If you don't want to send logs to the server in development mode, set track option to false:

new JSLogger({track: false});

If you don't want to track the errors in your site, set logWindowErrors to false:

new JSLogger({logWindowErrors: false});

##How to apply?

Our tool is still in BETA version. You can register here: http://jslogger.com/register. For other questions please send an e-mail to [email protected]. For quick questions you can always ping us on Twitter - @jslogger or tweet about how awesome JSLogger is - #jslogger. Like us on Facebook and become a part of the JSLogger community.

jslogger's People

Contributors

doomhz avatar michalbu avatar blowsie avatar tanepiper avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.