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

时间:2021-03-21 14:28:18
【文件属性】:
文件名称:Logit:小型,简单且易于使用的Lua日志实用程序
文件大小:193KB
文件格式:ZIP
更新时间:2021-03-21 14:28:18
lua logging Lua 请在西班牙语中! 洛吉特 一个用于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
【文件预览】:
Logit-master
----logit-1.0.0-1.rockspec(502B)
----capture_es.png(99KB)
----LICENSE(896B)
----Logit.lua(7KB)
----README.md(5KB)
----README_es.md(6KB)
----capture.png(84KB)

网友评论