You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
#### Logatim is an isomorphic logger which implements log levels and ANSI 16 styles.
12
12
13
13
14
-
Finally you can use the same logger for the **server and client side** of your applications. Log for developers using **colors, underlines, etc.** in order to transform the terminal in an authenitc debugger machine. And log for production **managing exactly what have** and what have not **to be outputed**.
14
+
Finally you can use the same logger for the **server and client side** of your applications. Log for developers using **colors, underlines, etc.** in order to transform the terminal in an authentic debugger machine. And log for production **managing exactly what have** and what have not **to be outputted**.
15
15
16
16
## Why?
17
17
I've been coding for a long time and I've always feel that we need a better approach to the logging issue. I've researched a lot about the available logger modules and I've even run a [questionary](https://docs.google.com/forms/d/10cZEXVc7aA29JBjoJFsTnTd8tf-RxrwlgusZrg9HW90) about this topic. After this inquiry I think that **the most suitable logger should combines these six elemental features**:
@@ -34,7 +34,7 @@ Choose one of the following options:
34
34
## Features
35
35
36
36
* Logatim has **colors**, **background colors** and **text styles**.
37
-
* Implements the five **native console logging methods**: trace, debug, info, warn and error. And also the slient mode.
37
+
* Implements the five **native console logging methods**: trace, debug, info, warn and error. And also the silent mode.
38
38
* Production ready for **server and front-end sides**. Learn one, implement everywhere.
39
39
* Super **lightweight**, weighs in at 1.1KB minified and gzipped.
@@ -58,7 +58,7 @@ Choose one of the following options:
58
58
59
59
60
60
## Usage
61
-
The logatim API is tend to be extremly minimal and human-like. It has two different kind of options: the styling and the leveling ones. Logatim consists in:
61
+
The logatim API is tend to be extremely minimal and human-like. It has two different kind of options: the styling and the leveling ones. Logatim consists in:
logatim.blue.bgYellow.bold.info("It's like reading english")
71
71
72
-
// and the next print is completly independent; zero memories
72
+
// and the next print is completely independent; zero memories
73
73
logatim.green.info('No background color nor bold here')
74
74
75
75
// you can concat different styles
@@ -111,7 +111,7 @@ logatim.setLevel('info')
111
111
logatim.debug("I'll be printed") // because debug is greater than info
112
112
```
113
113
114
-
* Leveling also ensures that **your logs don't break anything**, even if there's not a `console` object (I'm staring at you IE) it will slient fallback to the safest print possible.
114
+
* Leveling also ensures that **your logs don't break anything**, even if there's not a `console` object (I'm staring at you IE) it will silent fallback to the safest print possible.
0 commit comments