1 |
|
2 | (function() {
|
3 | var ElasticLogger, log;
|
4 |
|
5 | log = require('bog');
|
6 |
|
7 | module.exports = ElasticLogger = (function() {
|
8 | function ElasticLogger(config) {
|
9 | this.config = config;
|
10 | }
|
11 |
|
12 | ElasticLogger.prototype.error = log.error;
|
13 |
|
14 | ElasticLogger.prototype.warning = log.warn;
|
15 |
|
16 | ElasticLogger.prototype.info = log.info;
|
17 |
|
18 | ElasticLogger.prototype.debug = log.debug;
|
19 |
|
20 | ElasticLogger.prototype.trace = function(method, url, body, response, status) {};
|
21 |
|
22 | return ElasticLogger;
|
23 |
|
24 | })();
|
25 |
|
26 | }).call(this);
|
27 |
|
28 |
|