libosmovty  1.9.0.130-7f1fb.202401112026
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 .*/
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);
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:1199
void logging_vty_add_deprecated_subsys(void *ctx, const char *name)
Definition: logging_vty.c:1126
Internal representation of a single VTY.
Definition: vty.h:60