1.0.1 • Published 9 years ago
middleout-ng-logger v1.0.1
Middleout Angular Logger
Allows the log(target, label?) method to be run. The label is optional and uses console.group / groupEnd If no label is specified, the function will try to label the callee Function.
Install
npm install middleout-ng-logger
Usage
var angular = require('angular');
require('middleout-ng-logger');
log('Hello World', 'My Cool Label');
Typescript
var angular = require('angular');
declare var require; // required for the "require" function to work
require('middleout-ng-logger');
/// <reference path="path/to/middleout-ng-logger.d.ts" />
// ... the rest of the code in your typescript
License
MIT