Comparison

core/loggingmanager.lua @ 1618:ba2a92230b77

Merge with 0.5
author Matthew Wild <mwild1@gmail.com>
date Tue, 28 Jul 2009 19:17:09 +0100
parent 1613:ebf0813a81f6
child 1892:adc0c80413ee
comparison
equal deleted inserted replaced
1611:e20f90743863 1618:ba2a92230b77
220 end 220 end
221 end); 221 end);
222 222
223 local timestamps = config.timestamps; 223 local timestamps = config.timestamps;
224 224
225 if timestamps == true then 225 if timestamps == nil or timestamps == true then
226 timestamps = default_timestamp; -- Default format 226 timestamps = default_timestamp; -- Default format
227 end 227 end
228 228
229 return function (name, level, message, ...) 229 return function (name, level, message, ...)
230 if timestamps then 230 if timestamps then