How to use the @lykmapipo/logger.error function in @lykmapipo/logger

To help you get started, we’ve selected a few @lykmapipo/logger examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github CodeTanzania / ewea / src / worker.js View on Github external
connect(err => {
  // throw if error
  if (err) {
    error('Fail Launching Worker', err);
    throw err;
  }

  // TODO: worker job events

  // start kue worker
  start();

  // start kue http & ui
  listen();

  debug('Finish Launching Worker');
});
github CodeTanzania / ewea / src / server.js View on Github external
start((err, { PORT }) => {
  // throw if error
  if (err) {
    error('Fail Launching Http Server', err);
    throw err;
  }

  debug(`Http Server Running At http://0.0.0.0:${PORT}`);

  debug('Finish Launchin Http Server');
});

@lykmapipo/logger

Naive logging helpers

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis