libosmovty 1.9.0.196-9975
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
8struct 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 .*/
15#pragma GCC diagnostic pop
16void logging_vty_add_deprecated_subsys(void *ctx, const char *name);
17struct vty;
18struct log_target *osmo_log_vty2tgt(struct vty *vty);
const char * name
struct log_target * osmo_log_vty2tgt(struct vty *vty)
Get log target associated to VTY console.
Definition: logging_vty.c:147
void logging_vty_add_cmds()
Register logging related commands to the VTY.
Definition: logging_vty.c:1206
void logging_vty_add_deprecated_subsys(void *ctx, const char *name)
Definition: logging_vty.c:1133
Internal representation of a single VTY.
Definition: vty.h:60