linxl-log
v1.0.0
Published
```js const logger = require('linxl-log') logger.info("This is info") logger.warn("This is warning") logger.error("This is error") logger.debug("This is debug") logger.prompt("This is prompt") logger.verbose("This is verbose") logger.silly("This i
Downloads
2
Readme
linxl-log
使用
JavaScript
const logger = require('linxl-log')
logger.info("This is info")
logger.warn("This is warning")
logger.error("This is error")
logger.debug("This is debug")
logger.prompt("This is prompt")
logger.verbose("This is verbose")
logger.silly("This is silly")
TypeScript
import { info } from "linxl-log"
info('hello world')
禁用或启用颜色
// 默认开启
logger.setColor(false) // 关闭