|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
An app's logging: the build's default sink and timestamp, then the macros. More...
An app's logging: the build's default sink and timestamp, then the macros.
Include this in firmware in place of <sbl/common/log/macros.hpp>. Unless the app defines them first:
The choice is made here, above the layers it names, so common/log depends on none of them. Code without hardware (a unit test, a host tool) includes <sbl/common/log/macros.hpp> itself and gets sinks that write nothing unless it defines its own.
Definition in file log.hpp.
#include <sbl/hw/hal/uart/log_output.hpp>#include <sbl/system/timer.hpp>#include <sbl/common/log/macros.hpp>Go to the source code of this file.
Macros | |
| #define | SBL_LOG_OUTPUT sbl::uart::LogOutput |
| #define | SBL_LOG_TIMESTAMP sbl::system::timer::MillisTimestamp |
| #define SBL_LOG_OUTPUT sbl::uart::LogOutput |
| #define SBL_LOG_TIMESTAMP sbl::system::timer::MillisTimestamp |