Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

testarmada-midway-logger

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testarmada-midway-logger

Logging module for Midway products

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
104
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

midway-logger

Logger for midway products

Usage:

It is possible to set the log level thru several options.

Option 1:

By simply setting the MIDWAY_LOG_LEVEL env variable to one of debug, info, warn, error or off.

MIDWAY_LOG_LEVEL=debug node [your-node-project]
Option 2:

By setting it directly via functions.

// Set log level
Logger.setLogLevel('debug');

// Get log level
Logger.getLogLevel();

// Reset log level
Logger.resetLogLevel();

Documentation in this project is licensed under Creative Commons Attribution 4.0 International License.Full details available at https://creativecommons.org/licenses/by/4.0/

Keywords

FAQs

Package last updated on 28 Aug 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc