mme_set_logging()

Set the verbosity levels for specified logging modules

Synopsis:

#include <mme/mme.h>

int mme_set_logging( mme_hdl_t *hdl,
                     const char *name,
                     uint8_t level,
                     uint8_t flags );

Arguments:

hdl
An MME connection handle.
name
A pointer to a string with the name of the logging module for which log levels are to be set. To set levels for all modules, set the string to NULL. See the Description below.
verbose
The new log verbosity level to use for the specified modules. See Logging modules below.
flags
Flags that configure logging behavior. See Logging flags below.

Library:

mme

Description:

The function mme_set_logging() sets the verbosity levels for specified MME logging modules. You can set verbosity levels as required for individual modules or for all modules, as required, by placing the appropriate strings in the buffer referenced by the name argument.

Logging modules

The strings that identify mme logging modules include:


Note: The above list is not definitive. The logging modules may change. To find out what logging module strings are valid, call mme_get_logging() with the string referenced by the name argument set to NULL.

Logging flags

The logging flags are bit masks that configure logging behavior:

Events

None delivered.

Blocking and validation

This function doesn't perform any validations, and doesn't block.

Returns:

0
Success.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mme_get_logging()