console2html
v1.0.6
Published
Print log to HTML
Downloads
1
Readme
Console2html
Console2html is a debug tool which is used in can-not-see-console environment.
Install
npm install console2html
Usage
React
App.js
import { Console2html } from 'console2html'
let c2h
function App() {
c2h = new Console2html()
c2h.init()
console.log('test log')
console.warn('test warn')
console.error('test error')
return (
<div className="App"></div>
)
}
export default App