mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +00:00
Simplify logger_init() parameters
We're passing the t_configuration_options structure anyway, no need to pass items it contains as separate parameters.
This commit is contained in:
3
log.h
3
log.h
@@ -116,8 +116,7 @@ int detect_log_level(const char *level);
|
||||
|
||||
/* Logger initialisation and shutdown */
|
||||
|
||||
bool logger_init(t_configuration_options * opts, const char *ident,
|
||||
const char *level, const char *facility);
|
||||
bool logger_init(t_configuration_options * opts, const char *ident);
|
||||
|
||||
bool logger_shutdown(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user