Socket
Socket
Sign inDemoInstall

@ladjs/logger

Package Overview
Dependencies
13
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ladjs/logger

Logger for Lad


Version published
Maintainers
2
Created

Readme

Source

@ladjs/logger

build status code coverage code style styled with prettier made with lass license

Logger for Lad

Table of Contents

Install

npm:

npm install @ladjs/logger

yarn:

yarn add @ladjs/logger

Usage

const Logger = require('@ladjs/logger');

const logger = new Logger();

console.log(logger.info('hello world'));
// info: hello world

Suppress logs

This is useful when you want need logging turned on in certain circumstances. For example when you're running tests you can set logger.config.silent = true.

const Logger = require('@ladjs/logger');

const logger = new Logger({ silent: true });

console.log(logger.info('hello world'));

Contributors

NameWebsite
Nick Baughhttp://niftylettuce.com
Alexis Tylerhttps://wvvw.me/

Trademark Notice

Lad, Lass, and their respective logos are trademarks of Niftylettuce LLC. These trademarks may not be reproduced, distributed, transmitted, or otherwise used, except with the prior written permission of Niftylettuce LLC. If you are seeking permission to use these trademarks, then please contact us.

License

MIT © Nick Baugh

Keywords

FAQs

Last updated on 10 Sep 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc