Skip to content

Commit

Permalink
add header image
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro5id authored Dec 6, 2019
1 parent 943cd83 commit b7006bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# console-log-json
![title](docs/images/console-log-json-image.png)

A universal JSON logger that plugs in to the existing `console.log` native function.

Expand Down Expand Up @@ -78,4 +79,4 @@ so that it can be easily parsed by tool such as LogDNA.
```
- Again notice that we are not picky about the order in which the parameters are passed in to *console.log()*
- Notice that properties fo `extraInfo1` and `extraInfo2` are extracted and all logged in on line at the top level for easy parsing and filtering in logging tools such as LogDNA.
- Notice that properties such as `firstName` and `age` etc are sorted alphabetically for consistent appearance of logs in JSON no matter what order they are passed in.
- Notice that properties such as `firstName` and `age` etc are sorted alphabetically for consistent appearance of logs in JSON no matter what order they are passed in.

0 comments on commit b7006bf

Please sign in to comment.