文件名称:javascript 日志管理工具log4jse的使用
文件大小:11KB
文件格式:RAR
更新时间:2016-10-08 03:54:59
javascript 日志管理 log
// Usage: var mylog = Logger.get("app"); mylog.log("Hello my app!!"); var viewlog = Logger.get("view"); viewlog.warn("where am I?"); viewlog.error("I don't want work!!"); Logger.get("view").info("Goodbye"); // Above will pop an window, and output these in console: // 2011-10-22 17:20:54,WARNNING[view]: where am I? // 2011-10-22 17:20:54,ERROR[view]: I don't want work!! // 2011-10-22 17:20:54,INFO[view]: Goodbye
【文件预览】:
Log4Jse.js
Log4Jse.htm