Created
April 19, 2019 20:25
-
-
Save drumnation/41352a911a19bf630c2d9e17c526d71b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { enableLogging } from 'mobx-logger' | |
import LogRocket from 'logrocket' | |
import faker from 'faker' | |
const config = { | |
action: true, | |
compute: true, | |
predicate: () => true, | |
transaction: true | |
} | |
enableLogging(config) | |
LogRocket.init('yyw69f/draynow-web') | |
const { name, random, internet, company } = faker | |
LogRocket.identify(random.uuid(), { | |
name: `${name.firstName()} ${name.lastName()}`, | |
email: `${internet.email()}`, | |
company: `${company.companyName()}` | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment