Closed gbenziv closed 3 years ago
Correct format is:
[time] | namespace::class name | function name | log line
e.g.
[2020-10-02 20:03:11.056] | domain::login::LoginController | loginWithPIN | -- User with PIN 1111 was not found
The log must be truncated if there is space in the log string. Space indicates that the first string is a return type and should be discarded.
e.g.
[2020-12-11 22:01:22.397] | domain | login::AUTHSTATUS domain::login::LoginController::getUser | -- Retrieving user data
must be fixed as
[2020-12-11 22:01:22.397] | domain::login::LoginController | getUser | -- Retrieving user data
Remove template arguments. For example:
from:
BaseController<DpType, ViewType, EntityType>::dumpValidationResult
to:
BaseController::dumpValidationResult
The module, class and function names in the logger is inconsistent with its planned design to log the class and function name: