Skip to content

Instantly share code, notes, and snippets.

@zender
Created February 10, 2016 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zender/fbe418edf159feecdb29 to your computer and use it in GitHub Desktop.
Save zender/fbe418edf159feecdb29 to your computer and use it in GitHub Desktop.
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