littlefs logging macro overrides More...
littlefs logging macro overrides
This header provides re-implementations of the logging and debugging macros used in littlefs. This is to allow the package to make use of RIOT's own modules for logging and debugging.
Definition in file lfs_log.h.
#include "log.h"
Go to the source code of this file.
#define | _LFS_LOG(level, fmt, ...) LOG(level, "lfs: " fmt "%s\n", __VA_ARGS__) |
Private macro for routing littlefs log msgs to RIOT's log module. | |
littlefs overrides | |
Re-implementation of littlefs's logging and debugging macros. | |
#define | LFS_DEBUG(...) _LFS_LOG(LOG_DEBUG, __VA_ARGS__, "") |
override of littlefs's LFS_DEBUG() | |
#define | LFS_WARN(...) _LFS_LOG(LOG_WARNING, __VA_ARGS__, "") |
override of littlefs's LFS_WARN() | |
#define | LFS_ERROR(...) _LFS_LOG(LOG_ERROR, __VA_ARGS__, "") |
override of littlefs's LFS_ERROR() | |
#define _LFS_LOG | ( | level, | |
fmt, | |||
... | |||
) | LOG(level, "lfs: " fmt "%s\n", __VA_ARGS__) |
override of littlefs's LFS_DEBUG()
override of littlefs's LFS_ERROR()
#define LFS_WARN | ( | ... | ) | _LFS_LOG(LOG_WARNING, __VA_ARGS__, "") |
override of littlefs's LFS_WARN()