@logickernel/logger 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,16 +85,16 @@ log.info(message: string, payload?: Record<string, unknown>, labels?: Record<str
|
|
|
85
85
|
|
|
86
86
|
### Severity methods
|
|
87
87
|
|
|
88
|
-
| Method | GCP severity | Console emoji |
|
|
89
|
-
|
|
90
|
-
| `debug` | `DEBUG` | 🐞 |
|
|
91
|
-
| `info` | `INFO` | ⚪️ |
|
|
92
|
-
| `notice` | `NOTICE` | 🔵 |
|
|
93
|
-
| `warning` | `WARNING` | 🟡 |
|
|
94
|
-
| `error` | `ERROR` | 🔴 |
|
|
95
|
-
| `critical` | `CRITICAL` | ⛔️ |
|
|
96
|
-
| `alert` | `ALERT` | ❗️ |
|
|
97
|
-
| `emergency` | `EMERGENCY` | 🚨 |
|
|
88
|
+
| Method | GCP severity | Console emoji | When to use |
|
|
89
|
+
|---|---|---|---|
|
|
90
|
+
| `debug` | `DEBUG` | 🐞 | Debug or trace information |
|
|
91
|
+
| `info` | `INFO` | ⚪️ | Routine information, such as ongoing status or performance |
|
|
92
|
+
| `notice` | `NOTICE` | 🔵 | Normal but significant events, such as start up, shut down, or a configuration change |
|
|
93
|
+
| `warning` | `WARNING` | 🟡 | Warning events that might cause problems |
|
|
94
|
+
| `error` | `ERROR` | 🔴 | Error events that are likely to cause problems |
|
|
95
|
+
| `critical` | `CRITICAL` | ⛔️ | Critical events that cause more severe problems or outages |
|
|
96
|
+
| `alert` | `ALERT` | ❗️ | A person must take an action immediately |
|
|
97
|
+
| `emergency` | `EMERGENCY` | 🚨 | One or more systems are unusable |
|
|
98
98
|
|
|
99
99
|
### Scope
|
|
100
100
|
|