chore(core): lowered default log level to warning

This commit is contained in:
alina 🌸 2024-07-07 21:30:53 +03:00
parent 2c15653cdb
commit aa604e4d98
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@ import { LogManager } from './logger.js'
describe('logger', () => {
const createManager = () => {
const mgr = new LogManager()
mgr.level = LogManager.INFO
const spy = vi.fn<Parameters<typeof mgr.handler>>()
mgr.handler = spy

View file

@ -1,6 +1,6 @@
import { getPlatform } from '../platform.js'
const DEFAULT_LOG_LEVEL = 3
const DEFAULT_LOG_LEVEL = 2
const FORMATTER_RE = /%[a-zA-Z]/g
/**