This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update formatting and example img
- Loading branch information
Caio Alcantara
committed
Apr 10, 2019
1 parent
cc79d9c
commit e93099d
Showing
8 changed files
with
5,492 additions
and
21 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
node_modules | ||
node_modules | ||
|
||
# Mac OS | ||
.DS_Store |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"printWidth": 120, | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
const logger = require ('../.') | ||
const logger = require('../.') | ||
|
||
console.log(`With emoji\n`) | ||
// With Emoji | ||
logger.info('This is information!', { emoji: 'information_source' }) | ||
logger.warn('This is a warning!', { emoji: 'interrobang' }) | ||
logger.error('This is a problem!', { emoji: 'collision' }) | ||
logger.debug('This is a debug! ', { emoji: 'face_with_monocle' }) | ||
logger.verbose('This is a verbose!', { emoji: 'hash' }) | ||
|
||
console.log(`\n\n Without emoji\n`) | ||
// Without Emoji | ||
logger.info('This is information!') | ||
logger.warn('This is a warning!') | ||
logger.error('This is a problem!') | ||
logger.debug('This is a debug!') | ||
logger.verbose('This is a verbose!') | ||
logger.debug('This is a debug! ') | ||
logger.verbose('This is a verbose!') |
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
Oops, something went wrong.