1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
/*-------------------------------------------------------------------------
*
* logtofile_json.h
* Functions to create a json audit record
*
* Copyright (c) 2020-2025, Francisco Miguel Biete Banon
*
* This code is released under the PostgreSQL licence, as given at
* http://www.postgresql.org/about/licence/
*-------------------------------------------------------------------------
*/
#ifndef _LOGTOFILE_JSON_H_
#define _LOGTOFILE_JSON_H_
#include <postgres.h>
#include <lib/stringinfo.h>
/* Hook functions */
extern void PgAuditLogToFile_json_audit(StringInfo buf, const ErrorData *edata, int exclude_nchars);
#endif
|