colorino 0.12.1 → 0.12.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 +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -326,7 +326,7 @@ export function createContextLogger(
|
|
|
326
326
|
const logger = Object.create(base) as Colorino // Object.create uses `base` as the prototype.
|
|
327
327
|
|
|
328
328
|
// ...and override only what you need.
|
|
329
|
-
Object.assign(logger, { // Object.assign copies these methods onto `logger`.
|
|
329
|
+
Object.assign(logger, { // Object.assign copies these methods onto `logger`.
|
|
330
330
|
info(...args: unknown[]) {
|
|
331
331
|
base.info(`[${getCallerContext()}]`, ...args)
|
|
332
332
|
},
|