Comparison

core/loggingmanager.lua @ 4124:3761aa844d65

loggingmanager: Fix reading configuration of timestamps for console output.
author Waqas Hussain <waqas20@gmail.com>
date Thu, 13 Jan 2011 02:33:50 +0500
parent 4123:0c9399a66b17
child 4140:e463e1df1bda
comparison
equal deleted inserted replaced
4123:0c9399a66b17 4124:3761aa844d65
193 end 193 end
194 194
195 -- Column width for "source" (used by stdout and console) 195 -- Column width for "source" (used by stdout and console)
196 local sourcewidth = 20; 196 local sourcewidth = 20;
197 197
198 function log_sink_types.stdout() 198 function log_sink_types.stdout(config)
199 local timestamps = config.timestamps; 199 local timestamps = config.timestamps;
200 200
201 if timestamps == true then 201 if timestamps == true then
202 timestamps = default_timestamp; -- Default format 202 timestamps = default_timestamp; -- Default format
203 end 203 end