UserStory v0.0.9 — client-side logger
gulp-user-story
grunt-user-story
Installation
Install backend && frontend
npm install user-storybower install UserStory
Parse scripts
cat input.js | ./node_modules/user-story/bin/us > output.js
Include client-side part
Usage
Configure UserStory after script loading:
UserStory.configure({ on: ['*'], off: ['foo.bar'], logger: function (message, section){ console.log('My custom log', message, section); } });
or type in console:
UserStory;
UserStory;
UserStory;
UserStory; // Equivalent of UserStory.reset(); UserStory.on('foo.bar');