]>
git.proxmox.com Git - mirror_frr.git/blob - lib/log_vty.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Logging - VTY library
4 * Copyright (C) 2019 Cumulus Networks, Inc.
19 extern void log_cmd_init(void);
20 extern void log_config_write(struct vty
*vty
);
21 extern int log_level_match(const char *s
);
22 extern void log_show_syslog(struct vty
*vty
);
24 extern int facility_match(const char *str
);
25 extern const char *facility_name(int facility
);
27 DECLARE_HOOK(zlog_rotate
, (), ());
28 extern void zlog_rotate(void);
30 DECLARE_HOOK(zlog_cli_show
, (struct vty
* vty
), (vty
));
36 #endif /* __LOG_VTY_H__ */