David Fletcher / Mbed 2 deprecated CC3000WebServer

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Debugging routines

Debugging routines

This module implements debug routines which enable debug traces to be sent to a logger Note this module is only compiled if HTTP_CORE_ENABLE_DEBUG is defined in HttpConfig.h. More...

Functions

void HttpDebug (const char *pFormat,...)
 Send formatted debug trace to logger.
void HttpDebugStr (const char *pString)
 Send string debug trace to logger.
void HttpAssert (int condition)
 Assert that a certain condition is true.

Detailed Description

This module implements debug routines which enable debug traces to be sent to a logger Note this module is only compiled if HTTP_CORE_ENABLE_DEBUG is defined in HttpConfig.h.


Function Documentation

void HttpAssert ( int  condition )

Assert that a certain condition is true.

Parameters:
conditionA value that must be nonzero

Definition at line 63 of file HttpDebug.cpp.

void HttpDebug ( const char *  pFormat,
  ... 
)

Send formatted debug trace to logger.

Parameters:
pFormatThe printf-style format to send
...The rest of the parameters

Definition at line 45 of file HttpDebug.cpp.

void HttpDebugStr ( const char *  pString )

Send string debug trace to logger.

Parameters:
pStringThe string to send

Definition at line 58 of file HttpDebug.cpp.