fix
This commit is contained in:
parent
755a79cd8e
commit
5b21334fdd
@ -50,7 +50,10 @@ export namespace Log {
|
||||
export function file() {
|
||||
return logpath
|
||||
}
|
||||
let write = (msg: any) => process.stderr.write(msg)
|
||||
let write = (msg: any) => {
|
||||
process.stderr.write(msg)
|
||||
return msg.length
|
||||
}
|
||||
|
||||
export async function init(options: Options) {
|
||||
if (options.level) level = options.level
|
||||
|
||||
Loading…
Reference in New Issue
Block a user