More readable error log is needed.
Created by: lcy-seso
Reported by our users: it is hoped that after we refactor/rewrite PaddlePaddle, all the error information given by PaddlePaddle is more readable to common users.
For example:
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
F0713 01:51:19.486089 16681 PythonUtil.h:211] Check failed: PySequence_Check(seq_)
The above error information is not readable for common users. PaddlePaddle can inform users this error like this: "A sequence input is required, but non-sequence is given. Please check return values of data provider."
The benefits are twofold:
- guide and encourage users to solve the most basic problems they met themselves through meaningful error logs.
- it is probable to reduce the time developers spent on answering the most basic questions from users.