File: testFile.lua

package info (click to toggle)
lua-logging 1.1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 244 kB
  • ctags: 45
  • sloc: makefile: 10
file content (9 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
require"logging.file"

local logger = logging.file("test%s.log", "%Y-%m-%d")

logger:info("logging.file test")
logger:debug("debugging...")
logger:error("error!")

print("File Logging OK")