tfLogSetVerbosity

Jump to: navigation, search

Table of Contents >> IPsec/IKE Programmer's Reference >> Enhanced Logging for IPsec/IKE


#include <trsocket.h>


int tfLogSetVerbosity (tt8Bit verbosity);


Function Description

This function sets the global Logging Verbosity. Each log entry potentially contains instance-specific information that is useful for a deeper understanding of the event. This can generate a significant amount of data that may not be well suited for certain environments or situations. Applications use this function to switch between a concise log or a verbose log, the latter which includes this parametric data.



Parameters

  • verbosity
    This is set to either TM_LOG_VERBOSE or TM_LOG_CONCISE.



Returns

  • TM_ENOERROR
    This indicates success.
  • TM_EINVAL
    This indicates failure. The kernel found invalid arguments in the call.



Table of Contents >> IPsec/IKE Programmer's Reference >> Enhanced Logging for IPsec/IKE