Skip to content

LoggerAdapter.js

Peter J. Shin edited this page Feb 12, 2016 · 3 revisions
LoggerAdapter.js

Interface for allowing the underlying file storage to be changed

Adapter classes must implement the following functions:

  • info(string or array of string or object keys, function callback)
  • error(string or array of string or object keys, function callback)
  • query(options, function callback) See FileLoggerAdapter.js for the default implementation