Module drone_core::log [−][src]
Debug logging facade.
This module implements standard output/error interface, which mimics Rust’s standard library. This is a facade module. Concrete output implementation should be provided by downstream crates.
Reserved ports:
0
- standard output1
- standard error31
- heap trace
Macros
baud_rate | Returns log output baud rate defined in |
Structs
Port | Logger port handle. |
Constants
PORTS_COUNT | Number of ports. |
STDERR_PORT | Port number of the standard error stream. |
STDOUT_PORT | Port number of the standard output stream. |
Functions
flush | Blocks until all pending packets are transmitted. |
stderr | Returns port for standard error. |
stdout | Returns port for standard output. |
write_fmt | Writes |
write_str | Writes |