Skip to content

Commit

Permalink
Fixed errors in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Feb 10, 2017
1 parent 16d6f57 commit 840d713
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ Listen for messages from all `SnoopLogg` instances, even from other
dependencies.

```javascript
import { snoop, logg } from 'snooplogg';
import snooplogg, { snoop } from 'snooplogg';

snoop();

const log = logg('bumpin');
const log = snooplogg('bumpin');

log('one');
log
Expand All @@ -104,12 +104,12 @@ log.fatal('and like this');
```

```javascript
import { logg, type } from 'snooplogg';
import snooplogg, { type } from 'snooplogg';

type('jin', { color: 'cyan' });
type('juice', { color: 'yellow' });

const log = logg();
const log = snooplogg();

log.jin('parents ain\'t home');
log.juice('too much drama', true);
Expand Down

0 comments on commit 840d713

Please sign in to comment.