Socket
Socket
Sign inDemoInstall

atom-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

atom-logger

Reusable logging library for Atom packages.


Version published
Maintainers
1
Created
Source

Atom-Logger Build Status

Reusable logging library for Atom packages.

Getting Started

Install the module with: npm install atom-logger --save

Where my-package is your package name (settings namespace):

Logger = require "atom-logger"
# Inside your Atom package's class
logger = new Logger atom.config, "my-package"

API

Atom Logger acts as a layer on top of Winston. See the Winston documentation for more information.

Examples

Logger = require "atom-logger"
class MyPackage
  activate: () ->
    # Setup your Logger
    @logger = new Logger atom.config, "my-package"
    # Try logging with Winston!
    @logger.log 'info', "This is the message!", {"so":"meta"}

Documentation

Use Biscotto.

# Install CLI Globally
npm install -g biscotto
# Build documentation
biscotto
# Generated Documentation is in doc/ directory

Contributing

Release History

See CHANGELOG.md.

License

Copyright (c) 2014 Glavin Wiechert.
Licensed under the MIT license.

FAQs

Package last updated on 01 Jul 2014

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