-
Notifications
You must be signed in to change notification settings - Fork 0
/
lixlog.lua
45 lines (35 loc) · 929 Bytes
/
lixlog.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
local core = require("core")
local M = {}
function M.log(message)
core.log("LIXLING: " .. message)
end
function M.err(message)
core.log("LIXLING ERROR: " .. message)
end
function M.clear(message)
core.log("LIXLING CLEAR: " .. message)
end
function M.upgrade(message)
core.log("LIXLING UPGRADE: " .. message)
end
function M.install(kind, message)
kind = kind or ""
if kind == "raw" then
core.log("LIXLING INSTALL [raw]: " .. message)
elseif kind == "raw" then
core.log("LIXLING INSTALL [repo]: " .. message)
else
core.log("LIXLING INSTALL: " .. message)
end
end
function M.update(kind, message)
kind = kind or ""
if kind == "raw" then
core.log("LIXLING UPDATE [raw]: " .. message)
elseif kind == "raw" then
core.log("LIXLING UPDATE [repo]: " .. message)
else
core.log("LIXLING UPDATE: " .. message)
end
end
return M