Created
February 10, 2016 21:20
-
-
Save zender/fbe418edf159feecdb29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var __extends = (this && this.__extends) || function (d, b) { | |
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | |
function __() { this.constructor = d; } | |
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | |
}; | |
var AbstractLogger_1 = require('./AbstractLogger'); | |
var ConsoleLogger = (function (_super) { | |
__extends(ConsoleLogger, _super); | |
function ConsoleLogger() { | |
_super.call(this); | |
this.level = AbstractLogger_1.AbstractLogger.INFO; | |
} | |
ConsoleLogger.prototype.write = function (message) { | |
return 'Standard::Logger: ' + message; | |
}; | |
return ConsoleLogger; | |
})(AbstractLogger_1.AbstractLogger); | |
exports.ConsoleLogger = ConsoleLogger; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment