Interface for a logging backend.
More...
|
|
bool | active {false} |
| | Is this backend currently active?
|
|
auto(* | emit )(std::string_view s) noexcept -> void |
| | Emit a formatted string to the backend.
|
|
auto(* | init )() noexcept -> void |
| | Optional initialization for the backend.
|
|
std::string_view | name {} |
| | Backend name for identification.
|
Interface for a logging backend.
- Note
- Backends are responsible for the final emission of log strings.
The documentation for this struct was generated from the following file:
- zxfoundation/sys/printk.zcomponent/types.cxxm