Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@webex/plugin-logger
Advanced tools
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
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 7 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
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.