postgresql/src/backend/utils/error
Jeff Davis b40baa96a7 Provide log_status_format(), useful for an emit_log_hook.
Refactor so that log_line_prefix() is a thin wrapper over a new
function log_status_format(), and move the implementation to the
latter. Export log_status_format() so that it can be used by an
emit_log_hook.

Discussion: https://postgr.es/m/39c8197652f4d3050aedafae79fa5af31096505f.camel%40j-davis.com
Reviewed-by: Michael Paquier, Alvaro Herrera
2022-07-11 12:29:33 -07:00
..
assert.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
csvlog.c Fix various typos and spelling mistakes in code comments 2022-04-11 20:49:41 +12:00
elog.c Provide log_status_format(), useful for an emit_log_hook. 2022-07-11 12:29:33 -07:00
jsonlog.c Fix incorrect format placeholders 2022-04-13 14:04:51 +02:00
Makefile Introduce log_destination=jsonlog 2022-01-17 10:16:53 +09:00