SnmpSvcSetLogLevel
The SnmpSvcSetLogLevel function adjusts the level of detail of the debug output from the SNMP service and from SNMP extension agents using the SnmpUtilDbgPrint function.
DWORD SnmpSvcSetLogLevel(
INT nLogLevel );
Parameters
- nLogLevel
Specifies a signed integer variable that indicates the level of detail of the debug output from the SnmpUtilDbgPrint function. This parameter can be one of the following values.Value Description SNMP_LOG_SILENT Disable all debugging output. SNMP_LOG_FATAL Display fatal errors only. SNMP_LOG_ERROR Display recoverable errors. SNMP_LOG_WARNING Display warnings and recoverable errors. SNMP_LOG_TRACE Display trace information. SNMP_LOG_VERBOSE Display verbose trace infromation.
Return Values
This function has not return values.
Remarks
Extension agents are encouraged to use the SnmpSvcSetLogType and SnmpSvcSetLogLevel functions during development to adjust the output of debugging information. Extension agents can integrate the information with the debug output from the SNMP service.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 3.0 and later | Snmp.h | Snmpapi.lib |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
SnmpUtilDbgPrint, SnmpSvcSetLogType
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.