Files
kami-parse-server/src/Adapters/Logger/LoggerAdapter.js
Florent Vilmart 8c2c76dd26 Adds liniting into the workflow (#3082)
* 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
2016-11-24 15:47:41 -05:00

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;