1. 首页
  2. 数据库
  3. 其它
  4. Logit:小型简单且易于使用的Lua日志实用程序 源码

Logit:小型简单且易于使用的Lua日志实用程序 源码

上传者: 2021-05-05 01:16:35上传 ZIP文件 192.58KB 热度 23次
请在西班牙语中! 洛吉特 一个用于Lua日志的小型实用程序库,您可以轻松地将其集成到您的项目中。这里有个小例子: local Logit = require ( " Logit " ) local log = Logit ( " MyScript " , os.getenv ( " HOME " ), true ) log ( " Log library started! " , " info " ) log ( " This is a debug message " ) -- A little of code here... local config = load_config () -- example function... -- Like assert() function log: expect ( type (config) == " table " , " user con
下载地址
用户评论