fix: Writing to Bun.stderr causes CPU pinning to 100%. (#5396)
parent
16b7370d8c
commit
755a79cd8e
|
|
@ -50,7 +50,7 @@ export namespace Log {
|
|||
export function file() {
|
||||
return logpath
|
||||
}
|
||||
let write = (msg: any) => Bun.stderr.write(msg)
|
||||
let write = (msg: any) => process.stderr.write(msg)
|
||||
|
||||
export async function init(options: Options) {
|
||||
if (options.level) level = options.level
|
||||
|
|
|
|||
Loading…
Reference in New Issue