mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
xous: add "logging" feature
This will connect to a logging server to allow for log messages. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
cd7f8f67fc
commit
d057cba0fb
1 changed files with 6 additions and 1 deletions
|
|
@ -8,13 +8,18 @@ description = "System call interface for Xous"
|
|||
[dependencies]
|
||||
bitflags = "1"
|
||||
xous-macros = { path = "../macros", version = "0.1.0" }
|
||||
log = { version = "0.4", optional = true }
|
||||
|
||||
[features]
|
||||
# If this is set, then the "Drop" feature of MemoryMessage structs
|
||||
# will not be implemented. This should only be set by the kernel.
|
||||
forget-memory-messages = []
|
||||
|
||||
default = []
|
||||
# `logging` causes this program to connect to a log server on startup
|
||||
# so you can run log commands such as `info!()`.
|
||||
logging = ["log"]
|
||||
|
||||
default = ["logging"]
|
||||
|
||||
[target.'cfg(any(windows,unix))'.dependencies]
|
||||
lazy_static = "1.4"
|
||||
|
|
|
|||
Loading…
Reference in a new issue