libosmovty  0.12.1
Osmocom VTY library
logging.h File Reference

Go to the source code of this file.

Macros

#define LOGGING_STR   "Configure logging\n"
 
#define FILTER_STR   "Filter log messages\n"
 

Functions

void logging_vty_add_cmds ()
 Register logging related commands to the VTY. More...
 
void logging_vty_add_deprecated_subsys (void *ctx, const char *name)
 
struct log_targetosmo_log_vty2tgt (struct vty *vty)
 

Macro Definition Documentation

◆ FILTER_STR

#define FILTER_STR   "Filter log messages\n"

◆ LOGGING_STR

#define LOGGING_STR   "Configure logging\n"

Referenced by DEFUN().

Function Documentation

◆ logging_vty_add_cmds()

void logging_vty_add_cmds ( )

Register logging related commands to the VTY.

Call this once from your application if you want to support those commands.

References CFG_LOG_NODE, CONFIG_NODE, config_write_log(), install_element(), install_element_ve(), install_node(), log_vty_command_description(), and log_vty_command_string().

◆ logging_vty_add_deprecated_subsys()

void logging_vty_add_deprecated_subsys ( void *  ctx,
const char *  name 
)

◆ osmo_log_vty2tgt()

struct log_target* osmo_log_vty2tgt ( struct vty vty)