* initial linting of src * fix indent to 2 spaces * Removes unnecessary rules * ignore spec folder for now * Spec linting * Fix spec indent * nits * nits * no no-empty rule
17 lines
384 B
JavaScript
17 lines
384 B
JavaScript
/*eslint no-unused-vars: "off"*/
|
|
// Logger Adapter
|
|
//
|
|
// Allows you to change the logger mechanism
|
|
//
|
|
// Adapter classes must implement the following functions:
|
|
// * log() {}
|
|
// * query(options, callback) /* optional */
|
|
// Default is WinstonLoggerAdapter.js
|
|
|
|
export class LoggerAdapter {
|
|
constructor(options) {}
|
|
log(level, message, /* meta */) {}
|
|
}
|
|
|
|
export default LoggerAdapter;
|