Skip to content

Commit

Permalink
feat: add br() method
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien Motte committed Oct 17, 2017
1 parent add7a1b commit 56f82ae
Show file tree
Hide file tree
Showing 4 changed files with 1,285 additions and 14 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ logger.reset()
logger.log('Test') // Test
```

#### Line break

```js
import { Logger } from 'quark-log'

const logger = new Logger()
logger.br()
```

### Levels

#### Defaults levels
Expand Down
2 changes: 2 additions & 0 deletions demo/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ logger.bold('Test')

logger.reset()

logger.br()

logger.plugin('namespace', plugins.namespace, { name: 'test', capitalize: false })
logger.log('New namespace')

Expand Down
Loading

0 comments on commit 56f82ae

Please sign in to comment.