Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@webex/plugin-logger
Advanced tools
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
Logging plugin for the Cisco Webex JS SDK.
npm install --save @webex/plugin-logger
This is a plugin for the Cisco Webex JS SDK . Please see our developer portal and the API docs for full details.
const Webex = require('webex');
const webex = Webex.init();
webex.logger.info('Hello World'); // => wx-js-sdk Hello World
This logger plugin supports different logging levels to control what gets output to the user's console:
Unable to connect to websocket on port 4343
The usage of person email has been deprecated
Websocket connected on port 4343
Network status changed from DISCONNECTED to ONLINE
Network packet received, contents: {data}
The developer can control what level gets printed by setting the environment variable: WEBEX_LOG_LEVEL
.
These variables can be set on the command line or in the .env
file:
WEBEX_LOG_LEVEL="debug" npm start
# .env file
WEBEX_LOG_LEVEL=debug
This package is maintained by Cisco Webex for Developers.
Pull requests welcome. Please see CONTRIBUTING.md for more details.
© 2016-2020 Cisco and/or its affiliates. All Rights Reserved.
FAQs
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
The npm package @webex/plugin-logger receives a total of 11,096 weekly downloads. As such, @webex/plugin-logger popularity was classified as popular.
We found that @webex/plugin-logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.