1.2.10 • Published 6 years ago

outlog v1.2.10

Weekly downloads
6
License
ISC
Repository
github
Last release
6 years ago

OutLog - Javascript logger for browser

  • NOTE: Package still in alpha testing

Install

npm install outlog --save-dev

Default usage example

var Outlog = require("outlog");

var logger = Outlog.init("Module1", {debug:true}); // print logs to console

logger.info("Initializing");
logger.info("refresh()");

logger.error("Something wrong going here...");

Result

Show trace by cookie marker

var logger1 = Outlog.init("Module1");
    logger1.info("Info message", {users: 5, project: 7});
    logger1.warning("Error message");
    logger1.error("Error message", {reason: "Validation error"});

    var logger2 = Outlog.init("Module2");
    logger2.info("Second module info will not appeared");
   

Open browser console and call method Outlog.logger.Module2

Outlog.print.Module1({debug: true})

And all logs from this module will appear only for you and only in your browser

Result

1.2.10

6 years ago

1.2.9

6 years ago

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago