ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation::sys::printk::printk_backend Struct Referenceexport

Interface for a logging backend. More...

Data Fields

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.

Detailed Description

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