Releases: 3urobeat/output-logger
Releases · 3urobeat/output-logger
Version 2.3.7
Version 2.3.6
- Added cutToWidth parameter to logger function. This pushes the customTimestamp parameter one spot back in the default setting.
- Added alwaysCutToWidth option to options object
- Fixed progressCreate duplicating last multi-line string
- Fixed
createProgressBar()
not overwriting an existing one - Fixed
readInput()
andstopReadInput()
not behaving correctly - Fixed readInputEnd not moving the cursor correctly if a progress bar is active and accept input
- Fixed animations sometimes getting cleared instantly
- Fixed animations not getting removed correctly
- Fixed animations with emoji in frame not getting cut correctly by adding one char tolerance
- Fixed animations not getting cleared correctly when a progress bar is active
- Fixed 3 line long strings without manual newline printing into progress bar, leaving ghost chars behind
- Cleaned up a few things and made minor other changes
Version 2.3.5
- Fixed small terminal widths breaking remove functionality
- Fixed really small terminal width breaking remove when a custom message structure is being used
- Fixed string concatenation code applying duplicate reset color codes
- Fixed instant progress bar call overwriting terminal start line
- Minor other changes
Version 2.3.4
- Fixed multi-line strings logged during an active progress bar not getting all their lines cleared, leading them to leave ghost chars from the progress bar behind
Version 2.3.3
- Fixed duplication bug in stdout when multiline strings were logged during active progress bar
getProgressBar()
will now returnnull
instead of{}
when no progress bar is active- Updated all JsDocs
- Added stricter eslint styling rules and enforced them
Version 2.3.2
- The readInput log block will now save timestamp and keep a chronological order when logging held back messages after readInput is done
- Fixed messages with animation and remove == false getting logged one too many times into output file
Version 2.3.1
- Fixed moveCursor() calls crashing pm2
- Added note about limited pm2 support
- Fixed auto color reset not working consistently
- Fixed refreshing animation calls spamming log file
- Added Table of Contents to README
Version 2.3.0
- Added a stopReadInput(text) function to stop a running readInput() prompt
- Added customTimestamp parameter add support for logging in the past
Version 2.2.4
- Fixed remove & nodate params modifying msg content when explicitly passed as undefined. This caused the word "remove" in a message getting replaced with "undefined".
- Replaced every usage of
var
withlet
Version 2.2.3
- Fixed fast logger calls containing animation causing empty frame and overwriting last line in stdout