Socket
Socket
Sign inDemoInstall

@augu/logging

Package Overview
Dependencies
4
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @augu/logging

👾 Simple and very customizable Logger for my tailored needs


Version published
Weekly downloads
4
Maintainers
1
Install size
298 kB
Created
Weekly downloads
 

Readme

Source

@augu/logging

Workflow Status

:space_invader: | Make logging pretty :sparkles:

Usage

const { createLogger, FileTransport } = require('@augu/logging');
const logger = createLogger({
  namespace: 'Namespace',
  transports: [FileTransport], // constructor that can be used with `new` or a new instance
  levels: [
    {
      level: 'debug',
      color: '' // hex, hsl, rgb, number
    }
  ]
});

logger.info('Test!');

License

@augu/logging is released under the MIT License. Read here for more information.

FAQs

Last updated on 09 Nov 2020

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