VCSAG_RES_LOG_MSG

The macro VCSAG_RES_LOG_MSG can be used to print debug log message at resource level for a specific resource by enabling debugging at resource level by overriding LogDbg attribute. It only accepts debug severities i.e. DBG_1 to DBG_21.

VCSAG_RES_LOG_MSG(dbgsev, flags, fmt, variable_args);

The VCSAG_RES_LOG_MSG macro controls logging at the level of the resource type level.

Usage:

VCSAG_RES_LOG_MSG(VCS_DBG4, VCS_DEFAULT_FLAGS,
 "PathName is (%s)", (CHAR *)(*attr_val));

See C++ agent logging APIs.