Creating log functions and possibility to store console logs to localstorage, pull them from localstorage and also delete them