在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):rxi/log.lua开源软件地址(OpenSource Url):https://github.com/rxi/log.lua开源编程语言(OpenSource Language):Lua 100.0%开源软件介绍(OpenSource Introduction):log.luaA tiny logging module for Lua. InstallationThe log.lua file should be dropped into an existing project and required by it. log = require "log" Usagelog.lua provides 6 functions, each function takes all its arguments, concatenates them into a string then outputs the string to the console and -- if one is set -- the log file:
Additional optionslog.lua provides variables for setting additional options: log.usecolorWhether colors should be used when outputting to the console, this is log.outfileThe name of the file where the log should be written, log files do not contain
ANSI colors and always use the full date rather than just the time. By default
log.levelThe minimum level to log, any logging function called with a lower level than
the The level of each log mode, starting with the lowest log level is as follows:
LicenseThis library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论