日志展示

展示日志信息

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/20844/133182/%E6%97%A5%E5%BF%97%E5%B1%95%E7%A4%BA.js

نووسەر
Jixun.Moe
وەشان
0.0.1.20160623110724
Created
2016-06-23
Updated
2016-06-23
مۆڵەت
نییە

一个简单的日志展示函数库。

var logger = new Logger();
logger.show('正在抓取数据 ...');
// 或手动隐藏
var el = logger.stick('正在抓取数据 ...');
setTimeout(() => logger.remove(el), 3000);