dumbeau / AutoHotPie

Radial menus in Windows, aka PIE MENYOOS!
MIT License
304 stars 16 forks source link

New logger, better class structure and feature updates #110

Closed ryjacky closed 11 months ago

ryjacky commented 1 year ago
New logger: Introduced a new logger that can be used in the renderer process. It redirects all logs from the browser to the IDE console and adds the ability to write log files 'on the fly'. The logger also formats and adds a timestamp directly to the log message. It makes it more easy to filter logs as well (and it's cooler 😎 ). Basically makes managing logs easier. In renderer In main process
window.log.trace logger.trace
window.log.info logger.info
window.log.debug logger.debug
window.log.warn logger.warn
window.log.error logger.error
window.log.fatal logger.fatal

Better class structure (ForegroundWindow): Applying new design principle that I've learnt recently (SOLID) :)). Basically trying to comply with the SOLID principle here.

Multiple exe files can now be added to a single profile inside profile settings. Note that this feature is not available in default profile.