kerium 1.4.2 → 1.4.3
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/dist/log.js +1 -1
- package/package.json +1 -1
package/dist/log.js
CHANGED
|
@@ -164,7 +164,7 @@ export function format(entry) {
|
|
|
164
164
|
const formatted = _format(entry);
|
|
165
165
|
return typeof formatted == 'string' ? [formatted] : Array.from(formatted);
|
|
166
166
|
}
|
|
167
|
-
let _output = console.error;
|
|
167
|
+
let _output = 'process' in globalThis ? console.error : console.log;
|
|
168
168
|
function output(entry) {
|
|
169
169
|
if (entry.level > minLevel)
|
|
170
170
|
return;
|