libosmovty 1.13.1.1-afb4 Osmocom VTY library

logging.h
Go to the documentation of this file.
1
3#pragma once
4
5#define LOGGING_STR "Configure logging\n"
6#define FILTER_STR "Filter log messages\n"
7
8 struct log_info;
9#pragma GCC diagnostic push
10#pragma GCC diagnostic ignored "-Wpragmas"
11#pragma GCC diagnostic ignored "-Wstrict-prototypes"
12/* note this undefined argument declaration is intentional. There used
13 * to be an argument until 2017 which we no longer need .*/
14 void logging_vty_add_cmds();
15#pragma GCC diagnostic pop
16 void logging_vty_add_deprecated_subsys(void *ctx, const char *name);
17 struct vty;
18 struct log_target *osmo_log_vty2tgt(struct vty *vty);
name
const char * name
osmo_log_vty2tgt
struct log_target * osmo_log_vty2tgt(struct vty *vty)
Get log target associated to VTY console.
Definition: logging_vty.c:152
logging_vty_add_cmds
void logging_vty_add_cmds()
Register logging related commands to the VTY.
Definition: logging_vty.c:1300
logging_vty_add_deprecated_subsys
void logging_vty_add_deprecated_subsys(void *ctx, const char *name)
Definition: logging_vty.c:1227
log_info
log_target
vty
Internal representation of a single VTY.
Definition: vty.h:60