@pilotlab/lux-debug
Version:
A luxurious user experience framework, developed by your friends at Pilot.
19 lines (12 loc) • 363 B
Markdown
# lux-debug
Debugging utilities.
## Install
sudo npm install --save @pilotlab/lux-debug
## Usage
```
import Debug from '@pilotlab/lux-debug';
Debug.assert(
is.notEmpty(myVariable),
'The value of myVariable is %MY%. The value of otherVariable is %OTHER%.',
'AwesomeClass.doSomethingCool(...)', {"MY": myVariable, "OTHER": otherVariable});
```