Security News
Nightmares on npm: How Two Malicious Packages Facilitate Data Theft and Destruction
Our threat research team breaks down two malicious npm packages designed to exploit developer trust, steal your data, and destroy data on your machine.
@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
Unknown package
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
Our threat research team breaks down two malicious npm packages designed to exploit developer trust, steal your data, and destroy data on your machine.
Security News
A senior white house official is urging insurers to stop covering ransomware payments, indicating possible stricter regulations to deter cybercrime.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.