Releases: 3urobeat/ada-output-logger
Releases · 3urobeat/ada-output-logger
Version 0.3.0
- Added Read_Input to support reading from stdin
- Added a log queue to hold back messages printed during Read_Input
- Added a print manager and refactored code base to use it exclusively for printing to stdout
- Added basic primitive type overloads
- Added concatenation overloads for int & float which fixes preceding whitespaces
- Added C signal handlers (replacing Controlled_Type) to catch process exit, SIGINT, ...
- Disabled printing Exit_Msg to output file for now to fix runtime exception
- Added Logger overload to provide custom, non-global instance
- Moved dedicated log level functions to first parameter to make overloading drastically easier
- Renamed color codes to fit Ada's naming scheme
- Refactored parameter names and function documentation to fit a more consistent naming scheme
- Moved file handle store to Logger_Type to directly associate it
- Moved file opening to prevent unintuitive behavior when creating custom Logger instance
- Moved logger_test to tests directory and add proper .gpr file
- Added kill script to easily kill locked up process when testing
- Updated README to improve build instructions, etc
- Various fixes
Version 0.2.0
These notes are a bit messy because there were a lot of core changes, sorry.
- Added support for animations
- Includes 6 default animations
- Supports reprinting (when not marked as Rm) & newlines
- This took a giant amount of bugfixes
- Added hiding terminal cursor during runtime
- Added benchmark section to test file
- Fixed messages marked as Remove being able to be longer than the terminal is wide, leading to line break which breaks overwriting it
- The Rm() function was moved to the beginning of the call chain to facilitate this
- Fixed manually added color codes not being removed from String before getting printed to file
- Refactored a bunch to reduce code complexity
- Colors are now exposed through the Logger_Type package for easier use
- Trying to call Nl() when message is marked as Rm now raises an exception
- Switched to LGPL license to allow linking in proprietary projects
- Updated README
Version 0.1.0
First release featuring the fundamental logging logic, including message remove support.