Skip to content

Console2html is a debug tool which is used can-not-see-console environment

Notifications You must be signed in to change notification settings

yangfan1122/console2html

Repository files navigation

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

About

Console2html is a debug tool which is used can-not-see-console environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published