mirror of
https://gitlab.com/hoggit/developers/hoggit.git
synced 2025-11-10 15:43:28 +00:00
10 lines
210 B
Lua
10 lines
210 B
Lua
logFile = io.open(HOGGIT.log_base..[[\HOGGIT.log]], "w")
|
|
|
|
function log(str)
|
|
if str == nil then str = 'nil' end
|
|
if logFile then
|
|
logFile:write("HOGGIT --- " .. str .."\r\n")
|
|
logFile:flush()
|
|
end
|
|
end
|