Skip to content

Commit 0a9d9d6

Browse files
authored
docs: fix typo in README.md (#37)
1 parent 4b85982 commit 0a9d9d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A lightweight and more JavaScript logger for NodeJS and browsers.
1010

1111
`node-color-log` is a logger package for NodeJS and browsers. It provides more functions than the origin `console.log`. You can log text with colorful fonts and colorful backgrounds. Also, it has 4 levels log, including `debug`, `info`, `warn` and `error`. Give you a much better experience while developing JavaScript projects.
1212

13-
Winston and Pino are famous loggers for JaveScript, but they are too heavy and fancy. Sometimes we just want to have a simple logger, and don't want to spend time learning a fancy library. Then, `node-color-log` is your best choice.
13+
Winston and Pino are famous loggers for JavaScript, but they are too heavy and fancy. Sometimes we just want to have a simple logger, and don't want to spend time learning a fancy library. Then, `node-color-log` is your best choice.
1414

1515
## Demo
1616

@@ -67,7 +67,7 @@ logger.log(message)
6767
logger.color('red').bgColor('blue')
6868
.bold().italic().dim().reverse().underscore().strikethrough()
6969
.log(message);
70-
// use `append`` to joint contents, and use `log` to print out at the end
70+
// use `append` to joint contents, and use `log` to print out at the end
7171
logger.color('red').bold().append('message_style_1')
7272
.bgColor('white').italic().append('message_style_2')
7373
.strikethrough().log('message_style_3');
@@ -85,7 +85,7 @@ logger.log(obj1, arr2, str3);
8585

8686
You can redirect the logs to the stream.
8787

88-
for example, you can write the log into the file:
88+
For example, you can write the log into the file:
8989

9090
```js
9191
fileStream = fs.createWriteStream('test.log'),
@@ -97,7 +97,7 @@ logger.error("hello", "world");
9797
fileStream.close()
9898
```
9999

100-
you can use `less -R test.log` to see the result.
100+
You can use `less -R test.log` to see the result.
101101

102102
### `fontColorLog()`, `bgColorLog()`, `colorLog()`
103103

0 commit comments

Comments
 (0)