chore(core): lowered default log level to warning
This commit is contained in:
parent
2c15653cdb
commit
aa604e4d98
2 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ import { LogManager } from './logger.js'
|
||||||
describe('logger', () => {
|
describe('logger', () => {
|
||||||
const createManager = () => {
|
const createManager = () => {
|
||||||
const mgr = new LogManager()
|
const mgr = new LogManager()
|
||||||
|
mgr.level = LogManager.INFO
|
||||||
|
|
||||||
const spy = vi.fn<Parameters<typeof mgr.handler>>()
|
const spy = vi.fn<Parameters<typeof mgr.handler>>()
|
||||||
mgr.handler = spy
|
mgr.handler = spy
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { getPlatform } from '../platform.js'
|
import { getPlatform } from '../platform.js'
|
||||||
|
|
||||||
const DEFAULT_LOG_LEVEL = 3
|
const DEFAULT_LOG_LEVEL = 2
|
||||||
const FORMATTER_RE = /%[a-zA-Z]/g
|
const FORMATTER_RE = /%[a-zA-Z]/g
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue