Commit ed454d14 authored by LDOUBLEV's avatar LDOUBLEV
Browse files

print to logger.info

parent 3892a8ca
......@@ -122,9 +122,8 @@ def test_reader():
starttime = time.time()
print("reader:", count, len(data), batch_time)
except Exception as e:
print(e)
print("finish reader:", count)
print("success")
logger.info(e)
logger.info("finish reader: {}, Success!".format(count))
if __name__ == '__main__':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment