Code coverage report for monolog\lib\monolog.js

Statements: 100% (8 / 8)      Branches: 50% (1 / 2)      Functions: 100% (3 / 3)      Lines: 100% (8 / 8)      Ignored: none     

All files » monolog\lib\ » monolog.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49    1   1                                                             1 2 2 2 2       1          
// Generated by CoffeeScript 1.6.3
"use strict";
var monolog;
 
monolog = {
  Logger: require('./Logger'),
  handler: {
    AbstractHandler: require('./handler/AbstractHandler'),
    AbstractProcessingHandler: require('./handler/AbstractProcessingHandler'),
    ConsoleLogHandler: require('./handler/ConsoleLogHandler'),
    NullHandler: require('./handler/NullHandler'),
    TestHandler: require('./handler/TestHandler'),
    StreamHandler: require('./handler/StreamHandler'),
    CouchDBHandler: require('./handler/CouchDBHandler'),
    MongoDBHandler: require('./handler/MongoDBHandler')
  },
  formatter: {
    LineFormatter: require('./formatter/LineFormatter'),
    NormalizerFormatter: require('./formatter/NormalizerFormatter')
  },
  processor: {
    WebProcessor: require('./processor/WebProcessor'),
    ExpressProcessor: require('./processor/ExpressProcessor')
  }
};
 
/*
	create Logger
	@param {String} name
	@param {Array} handlers
	@param {Array} processors
	@return {monolog.Logger}
*/
 
 
monolog.create = function() {
  return (function(func, args, ctor) {
    ctor.prototype = func.prototype;
    var child = new ctor, result = func.apply(child, args);
    return Object(result) === result ? result : child;
  })(monolog.Logger, arguments, function(){});
};
 
module.exports = monolog;
 
/*
//@ sourceMappingURL=monolog.map
*/