vanilla-logger
v1.1.0
Published
window.console controller using vanilla javascript(pure javascript)
Downloads
3
Maintainers
Readme
Vanilla-logger
The console controller in javascript using vanilla javascript (pure javascript)
version
1.0.0
setup
You can install using npm
npm install vanilla-logger --save-dev
yarn install vanilla-logger --dev
donwload source
import script source(HTML)
<script src="path/to/vanilla-logger.js"></script>
using common js
require('vanilla-logger');
usage
require('vanilla-logger');
DebugMode
//If you were install npm
var vLogger = require('vanilla-logger');
//If you were import html, you don't need module dependency
//set debug mode
vLogger.setDebugMode(false);
console.log('logger log'); //logger log
console.error('logger error'); //logger error
console.info('logger info'); //logger info
//If you were install npm
var vLogger = require('vanilla-logger');
//If you were import html, you don't need module dependency
//set debug mode
vLogger.setDebugMode(false);
console.log('logger log'); //not operate
console.error('logger error'); //not operate
console.info('logger info'); //not operate
License
MIT © KernYoo