Skip to content
This repository was archived by the owner on Mar 22, 2020. It is now read-only.
juztcodePublic archive

About

this project is moved to https://github.com/juztcode/js-hacks

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Bring console to html

Samall libray that can be used to display console messages inside html view.

Why use this?

  • Tired of opening console to view log messages.
  • Need to display logs to user with minimum implementation

How to add?

  • Add link to the html file
<script src="https://cdn.jsdelivr.net/gh/juztcode/console-to-html@0.0.2/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

What are the functions?

  • console.log()
  • console.info()
  • console.debug()
  • console.warn()
  • console.error()
  • console.clear()

Happy Coding :)

About

this project is moved to https://github.com/juztcode/js-hacks

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages