Pebble Foundation Classes
0.2.0
C++ for Pebble
|
Functions related to logging from apps. More...
Macros | |
#define | APP_LOG(level, fmt, args...) app_log(level, __FILE_NAME__, __LINE__, fmt, ## args) |
#define | APP_LOG(level, fmt, args...) app_log(level, __FILE_NAME__, __LINE__, fmt, ## args) |
Enumerations | |
enum | AppLogLevel { APP_LOG_LEVEL_ERROR = 1, APP_LOG_LEVEL_WARNING = 50, APP_LOG_LEVEL_INFO = 100, APP_LOG_LEVEL_DEBUG = 200, APP_LOG_LEVEL_DEBUG_VERBOSE = 255, APP_LOG_LEVEL_ERROR = 1, APP_LOG_LEVEL_WARNING = 50, APP_LOG_LEVEL_INFO = 100, APP_LOG_LEVEL_DEBUG = 200, APP_LOG_LEVEL_DEBUG_VERBOSE = 255 } |
Suggested log level values. More... | |
enum | AppLogLevel { APP_LOG_LEVEL_ERROR = 1, APP_LOG_LEVEL_WARNING = 50, APP_LOG_LEVEL_INFO = 100, APP_LOG_LEVEL_DEBUG = 200, APP_LOG_LEVEL_DEBUG_VERBOSE = 255, APP_LOG_LEVEL_ERROR = 1, APP_LOG_LEVEL_WARNING = 50, APP_LOG_LEVEL_INFO = 100, APP_LOG_LEVEL_DEBUG = 200, APP_LOG_LEVEL_DEBUG_VERBOSE = 255 } |
Suggested log level values. More... | |
Functions | |
void | app_log (uint8_t log_level, const char *src_filename, int src_line_number, const char *fmt,...) |
Functions related to logging from apps.
This module contains the functions necessary to log messages through Bluetooth.
#define APP_LOG | ( | level, | |
fmt, | |||
args... | |||
) | app_log(level, __FILE_NAME__, __LINE__, fmt, ## args) |
A helper macro that simplifies the use of the app_log function
level | The log level to log output as |
fmt | A C formatting string |
args | The arguments for the formatting string |
#define APP_LOG | ( | level, | |
fmt, | |||
args... | |||
) | app_log(level, __FILE_NAME__, __LINE__, fmt, ## args) |
A helper macro that simplifies the use of the app_log function
level | The log level to log output as |
fmt | A C formatting string |
args | The arguments for the formatting string |
enum AppLogLevel |
Suggested log level values.
enum AppLogLevel |
Suggested log level values.