Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ADISense_ExampleFirmware by
ADI Sense Host Logging functions
[ADI Sense Host Portability Layer]
Enumerations | |
enum | ADI_SENSE_LOG_LEVEL { ADI_SENSE_LOG_LEVEL_ERROR = 0, ADI_SENSE_LOG_LEVEL_WARN, ADI_SENSE_LOG_LEVEL_INFO, ADI_SENSE_LOG_LEVEL_DEBUG } |
Functions | |
ADI_SENSE_RESULT | adi_sense_LogOpen (void) |
Initialise the Log interface and allocate resources. | |
void | adi_sense_LogClose (void) |
Close the Log interface and free resources. | |
void | adi_sense_Log (ADI_SENSE_LOG_LEVEL level, const char *format,...) |
Print a log message to the platform log interface. |
Enumeration Type Documentation
enum ADI_SENSE_LOG_LEVEL |
Log message priority levels
- Enumerator:
Definition at line 70 of file adi_sense_log.h.
Function Documentation
void adi_sense_Log | ( | ADI_SENSE_LOG_LEVEL | level, |
const char * | format, | ||
... | |||
) |
Print a log message to the platform log interface.
- Parameters:
-
[in] level Log message priority level [in] format Format string and variable argument list, if any
Definition at line 94 of file adi_sense_log.cpp.
void adi_sense_LogClose | ( | void | ) |
Close the Log interface and free resources.
Definition at line 82 of file adi_sense_log.cpp.
ADI_SENSE_RESULT adi_sense_LogOpen | ( | void | ) |
Initialise the Log interface and allocate resources.
- Returns:
- Status
- ADI_SENSE_SUCCESS Call completed successfully.
- ADI_SENSE_NO_MEM Failed to allocate memory for device context.
Definition at line 65 of file adi_sense_log.cpp.
Generated on Tue Jul 12 2022 19:29:36 by
