mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-01-11 20:10:20 +00:00
Maybe fix line overlap for progress bars?
This commit is contained in:
parent
501928b92d
commit
6d1926cca3
1 changed files with 2 additions and 2 deletions
|
|
@ -28,10 +28,10 @@ const makeLogger = () => {
|
|||
console: {
|
||||
type: 'console', layout: {
|
||||
type: 'pattern',
|
||||
pattern: process.env.isGUI === 'true' ? '%[%x{info}%m%]' : '%x{info}%m',
|
||||
pattern: process.env.isGUI === 'true' ? '\r%[%x{info}%m%]' : '\r%x{info}%m',
|
||||
tokens: {
|
||||
info: (ev) => {
|
||||
return ev.level.levelStr === 'INFO' ? '' : `[${ev.level.levelStr}] `;
|
||||
return ev.level.levelStr === 'INFO' ? '\r' : `\r[${ev.level.levelStr}] `;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue