New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@dekproject/logger

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dekproject/logger

Logger interface plugin for DEK

0.1.5
latest
Version published
Maintainers
2
Created

@dekproject/logger

Logger interface plugin for DEK

What does this plugin do?

  • Control configuration for connection to Logger in production development mode in a simplified way with dotenv
  • Performs connection implementation along the lines ES6 being pre requirement to start the project

Instalation

To install the bootstrap we recommend using the CLI

$ yarn add @dekproject/logger --save
$ nano .env

In the .env file add the following settings

LOGGER_BUGSNAG_API_KEY=apiKey

Usage

Using direct

$ npm i @dekproject/scope

Using in the standard DEK skeleton

import { $, app, logger, bugsnagexpress } from "@dekproject/scope";

app.use(bugsnagexpress.errorHandler);

logger.error(throw new Error('Test error'));

FAQs

Package last updated on 11 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts