Currently to debug-log the framewor we need to compile it for debug, also the debug-logging is incomlete. We could add logging levels of 1-5 where 1 is info 5 is with variables. We could maybe use some of existing logging frameworks to save logs. Any thoughts?