mirror of
https://github.com/appium/appium.git
synced 2026-10-27 03:25:54 +08:00
BREAKING CHANGE: @appium/logger and @appium/support no longer export a default log — import the named log export instead. BREAKING CHANGE: AppiumLogger#errorAndThrow has been removed; use errorWithException instead. BREAKING CHANGE: Logger#enableProgress, disableProgress, progressEnabled, enableUnicode, disableUnicode have been removed; they were already permanently disabled no-ops.
810 B
810 B
@appium/logger
Appium's logging functionality
Installation
npm install @appium/logger --save
Basic Usage
import {log} from '@appium/logger';
// additional stuff ---------------------------+
// message ----------+ |
// prefix ----+ | |
// level -+ | | |
// v v v v
log.info('fyi', 'I have a kitty cat: %j', myKittyCat);
History
This module is forked from npmlog under ISC License because the original project has been archived. Please check the npmlog changelog to see the list of former module updates before it was forked.
License
ISC License