Skip to content

Releases: 3urobeat/output-logger

Version 2.3.7

23 Jun 21:50
Compare
Choose a tag to compare
  • Fixed progressRemove leaving behind references to progress bar in memory. This reduces the memory usage a bit.

Version 2.3.6

09 Jun 11:09
Compare
Choose a tag to compare
  • 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() and stopReadInput() 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

06 Jun 16:20
Compare
Choose a tag to compare
  • 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

05 Jun 09:52
Compare
Choose a tag to compare
  • 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

03 Jun 17:37
Compare
Choose a tag to compare
  • Fixed duplication bug in stdout when multiline strings were logged during active progress bar
  • getProgressBar() will now return null instead of {} when no progress bar is active
  • Updated all JsDocs
  • Added stricter eslint styling rules and enforced them

Version 2.3.2

29 May 22:46
Compare
Choose a tag to compare
  • 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

24 May 14:51
Compare
Choose a tag to compare
  • 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

30 Mar 12:10
Compare
Choose a tag to compare
  • 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

27 Feb 20:05
Compare
Choose a tag to compare
  • 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 with let

Version 2.2.3

20 Jul 13:25
Compare
Choose a tag to compare
  • Fixed fast logger calls containing animation causing empty frame and overwriting last line in stdout