JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 32
  • Score
    100M100P100Q67631F
  • License MIT

common logger for yodata packages

Package Exports

  • @yodata/logger

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@yodata/logger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

yodata-logger

console.log with a standardized api log.{debug|info|warn|error}(message: string, data: [object]) api

This package wraps loglevel with some defaults.

Table of Contents

- [yodata-logger](#yodata-logger)
- [Table of Contents](#table-of-contents)
- [Install](#install)
- [Usage](#usage)
- [API](#api)
- [Maintainers](#maintainers)
- [Contributing](#contributing)
- [License](#license)

Install

$ yarn add @yodata/logger

Usage

const log = require('@yodata/logger') log.info('hello world!')

Maintainers

@yodata

Contributing

PRs accepted.

License

MIT © 2019 Yodata, Inc.