mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-13 10:48:35 +08:00
chore: remove script util
This commit is contained in:
@@ -2,10 +2,10 @@ import { Logger } from './util'
|
||||
|
||||
let logger
|
||||
|
||||
export default (logger = new Logger(
|
||||
export default logger = new Logger(
|
||||
'[Eruda]',
|
||||
ENV === 'production' ? 'warn' : 'debug'
|
||||
))
|
||||
)
|
||||
|
||||
logger.formatter = function(type, argList) {
|
||||
argList.unshift(this.name)
|
||||
|
||||
Reference in New Issue
Block a user