Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Print Source Code filename and line number at which a debug, error, info or warning message is being logged - in addition to actual message
_FILE, __LINE_ available in gcc can be used.
Devise and implement fix for this.
Having source code file name and line number allows any one in support by looking at error log - where exactly the log message printed from - which is very helpful when same error message is printed from more than one place in source code.
Also helps to narrow down code section when difficult to diagnose crashes occur in the field.
Attachments
1.
|
Refactor log_manager.cc |
|
Closed | Johan Wikman |