Loggie v1.2
π Repository π User Guide π¬ Loggie Discord - Support & Development
π Features
-
New Shortcuts: You can now use
Loggie.error(...)
,Loggie.info(...)
,Loggie.notice(...)
,Loggie.warn(...)
andLoggie.debug(...)
wrappers to directly output at a log level. Useful for when you want to quickly output and don't care about applying additional LoggieMsg modifiers. -
New Setting: Nameless Class Name Proxy - allows users to specify what kind of substitute gets printed if 'Derive and Display Class Names From Scripts' is enabled, but a script doesn't have a 'class_name'.
-
New Signal:
Loggie.log_attempted
- Emitted any time Loggie attempts to log a message, letting you know the result of the attempt and what the attempted message is. Useful for when you want to capture log data from Loggie for external use.
πͺ Improvements
- Loggie can now be used while running only in editor (during
@tool
scripts, etc.) - The Show Loggie Specs setting has been updated to allow a selection between:
- Don't show loggie specs
- Show essential loggie specs
- Show advanced (all) loggie specs
- The Derive and Display Class Names feature has been significantly changed, gaining on performance because it is no longer using FileAccess read to peek into scripts if your version of Godot supports the
Script.get_global_name
(4.3+ versions). It automatically detects whether it can use this optimization and does it if possible, still retaining the support for the previous approach for backwards compatibility. Loggie now also pre-reads the names of its own singleton and all autoload class names.
βοΈ Adjustments
- The Show Loggie Specs setting now also encompasses the Loggie boot message.
- When preprocessing a derived class name, LoggieMsg no longer prepends anything to the content if the class name is an empty string.
π Bugfixes
- Fixed an issue where restarting Godot would cause Loggie settings to revert to defaults.
- Fixed an issue with retaining the configuration for the custom ProjectSettings generated by Loggie between multiple engine runs.
- Fix a wrong comparison that could've caused an error message to be printed unnecessarily.
π₯οΈ Developers
- Testing props are now stored in their own directory.
- Improved the state and structure of the testing script.
- Enums are now found in the LoggieEnums class.