Nupital Pomp Mesmerises
Learn how companies like Phone2Action are using npm in their front-end developmentJoin the conversation »

@wdio/logger

5.16.10 • Public • Published

WDIO Logger Utility

A helper utility for logging of WebdriverIO packages

This package is used across all WebdriverIO packages to log information using the loglevel package. It can also be used for any other arbitrary Node.js project.

Install

To install the package just call

$ npm install @wdio/logger

or when adding it to a WebdriverIO subpackage:

$ lerna add @wdio/logger --scope <subpackage>

Usage

The package exposes a logger function that you can use to register an instance for your scoped package:

import logger from '@wdio/logger'
 
const log = logger('myPackage')
log.info('some logs')

For more info see loglevel package on NPM.

Install

npm i @wdio/logger

DownloadsWeekly Downloads

194,699

Version

5.16.10

License

MIT

Unpacked Size

7.04 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar