Samall libray that can be used to display console messages inside html view.
- Tired of opening console to view log messages.
- Need to display logs to user with minimum implementation
- Add link to the html file
<script src="https://cdn.jsdelivr.net/gh/juztcode/[email protected]/src/console-to-html.js"></script>
- Initialize with html element id that you are using to display logs
<script>
DebugToHTML('elementId');
</script>
- Thats it you can use console functions and it will display inside html
- console.log()
- console.info()
- console.debug()
- console.warn()
- console.error()
- console.clear()
Happy Coding :)