| Issue 139: | Evolve Log Per day | |
| 2 people starred this issue and may be notified of changes. | Back to list |
|
I rewrote the logging function so it logs everything and saves it into the txt file as ev_log*MONTH*-*DAY*.txt
Replace your logging function in framework with this.
[CODE]
function evolve:Log( str )
local cur = ""
cur = "[" .. os.date() .. "] " .. str .. "\n"
filex.Append( "ev_log" .. os.date("%m") .. "-" .. os.date("%d") .. ".txt", cur )
end
[CODE]
Written by ConjointGaming.com - Remscar@live.com
Made for the ConjointGaming.com TTT Server
Credit for the function goes to Remscar
Jul 23, 2010
Project Member
#1
overv161@gmail.com
Status:
Done
|
||||||||