Releases: 3urobeat/output-logger
Version 2.2.2
- Added required_from_childprocess option to add support for loading lib from two processes using the same stdout
- Added detachEventListeners() function to add support for re-importing lib after clearing require cache without creating duplicate event listeners
Version 2.2.1
- Added a print manager that handles cursor movement and printing to stdout of all log types. This fixes readInput not working when progress bar or animation was active and various other (smaller) print problems.
- Added a printprogress option
- Fixed logger loosing dollar signs
- Minor other changes and optimizations
Version 2.2.0
Added progress bar support. Fixed duplicate callbacks from readInput() if function is called multiple times. Datatype color highlighting now works outside objects. Fixed undefined, null and 0 not being shown in message field.
Version 2.1.1
Added more colors and added usage of color constants internally.
Version 2.1.0
Added readInput() function to get user input from terminal. Added support to set a goodbye message that will be logged on exit. Added easy color code usage with logger.colors
.
Version 2.0.1
Fixed undefined parameter bugging message content, added option to show/hide debug messages and added formatting of objects to message parameter.
Version 2.0.0
Rewrote the library to improve code quality.
Version 1.3.6
Fixed new animation keyword not used in replace call resulting in animation not being displayed correctly and added file header.
Version 1.3.5
Lazy fix for parameter content not being able to contain name of a msg structure keyword.
Version 1.3.4
Fixed animation or self-overwriting string spamming the log when terminal window is smaller than the length of the string