|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
The logger's two contracts: an output sink and a timestamp provider. More...
The logger's two contracts: an output sink and a timestamp provider.
The logger, the tagged lines and the fault handlers write through a sink and never name a device, so this directory includes nothing from hw/, usb/ or system/. A device's sink lives with the device:
<sbl/log.hpp> picks a build's defaults among them.
Contracts:
static void write(const char* str), a NUL-terminated stringstatic uint32_t now(), millisecondsDefinition in file sink.hpp.
#include <cstdint>#include <type_traits>#include <utility>Go to the source code of this file.
Classes | |
| struct | sbl::log::NullOutput |
| struct | sbl::log::NullTimestamp |
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs code. | |
| namespace | sbl::log |
| Logging. | |
Variables | |
| template<typename T > | |
| constexpr bool | sbl::log::is_sink_v = detail::is_sink<T>::value |
| template<typename T > | |
| constexpr bool | sbl::log::is_timestamp_v = detail::is_timestamp<T>::value |