|
SdFat
|
Classes for Debug messages. More...
#include "Printable.h"
Classes | |
| class | Bin |
| Print binary with byte and nibble separators. More... | |
| class | Dbl |
| Print floating point with precision. More... | |
| class | Hex |
| Print in hex format. More... | |
| class | Num |
| Print 64-bit print, lower case hex, alt binary or precision. More... | |
Macros | |
| #define | DBG_FILE __FILE__ |
| #define | DBG_LOG_PORT Serial |
| #define | DBG_MSG(...) |
| #define | ENABLE_DBG_MSG 1 |
| #define | NUM64_HEX_A 'a' |
Functions | |
| size_t | logmsg () |
| size_t | logmsg (bool b) |
| template<typename T > | |
| size_t | logmsg (T arg) |
| template<typename T , typename... Types> | |
| size_t | logmsg (T var1, Types... vars) |
| template<typename... Types> | |
| size_t | logmsgln (Types... vars) |
Classes for Debug messages.
Copyright (c) 2011-2025 Bill Greiman This file is part of the SdFat library for SD memory cards.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| #define DBG_FILE __FILE__ |
Filename to print in message.
| #define DBG_LOG_PORT Serial |
Port for debug messages
| #define DBG_MSG | ( | ... | ) |
Macro for debug messages
| #define ENABLE_DBG_MSG 1 |
Enable or disable debug messages
| #define NUM64_HEX_A 'a' |
Character used in Num class for HEX format
|
inline |
|
inline |
| [in] | b | Item to print. |
|
inline |
| [in] | arg | Item to print. |
|
inline |
| [in] | var1 | Next item to print. |
| [in] | vars | Rest of items to print. |
|
inline |
| [in] | vars | List of items to print. |