diff options
author | cloudygoose <[email protected]> | 2015-06-08 12:50:02 +0800 |
---|---|---|
committer | cloudygoose <[email protected]> | 2015-06-08 12:50:02 +0800 |
commit | 155b0c0803f5f7cd3f8780273f6b0bdfbaed5970 (patch) | |
tree | 967c6326b83cda2b92eee5f597dde0e74b071dbb /nerv.lua | |
parent | 31330d6c095b2b11b34f524169f56dc8d18355c3 (diff) | |
parent | 0f30b1a4b5e583cb1df7dbb349c1af4378e41369 (diff) |
...
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'nerv.lua')
-rw-r--r-- | nerv.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,9 @@ function nerv.error_method_not_implemented() end function nerv.info(fmt, ...) - nerv.utils.printf("[nerv] info: " .. fmt .. "\n", ...) + nerv.utils.printf( + string.format("(%s)[nerv] info: %s\n", + os.date("%H:%M:%S %F"), fmt), ...) end -- Torch C API wrapper |