diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-03-30 19:52:04 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-04-27 22:50:23 +0100 |
commit | 7065ad84f00537046ff15555bb60de6a7db274aa (patch) | |
tree | e996a8c0a364d71d6ac0f40ff8bbff2265376032 /test/utils.cpp | |
parent | 0f2189ba309baf4b7c26443a7e53c81e979d6f62 (diff) |
libcamera: internal: log: Report function on asserts
Report the function which fails an assertion as well as the actual
assertion.
This now reports as:
[30:08:53.218816270] [226567] FATAL default request.cpp:150 assertion "d" failed in reuse()
rather than:
[30:11:05.271888926] [228531] FATAL default request.cpp:150 assertion "d" failed
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/utils.cpp')
0 files changed, 0 insertions, 0 deletions