2016-11-24 15:47:41 -05:00
|
|
|
/*eslint no-unused-vars: "off"*/
|
2016-02-04 08:18:19 -08:00
|
|
|
// Logger Adapter
|
|
|
|
|
//
|
|
|
|
|
// Allows you to change the logger mechanism
|
|
|
|
|
//
|
|
|
|
|
// Adapter classes must implement the following functions:
|
2016-08-12 13:25:24 -04:00
|
|
|
// * log() {}
|
|
|
|
|
// * query(options, callback) /* optional */
|
2016-08-06 08:29:19 -04:00
|
|
|
// Default is WinstonLoggerAdapter.js
|
2016-02-04 08:18:19 -08:00
|
|
|
|
|
|
|
|
export class LoggerAdapter {
|
2016-08-12 13:25:24 -04:00
|
|
|
constructor(options) {}
|
|
|
|
|
log(level, message, /* meta */) {}
|
2016-02-04 08:18:19 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default LoggerAdapter;
|