Crates.io | wascc-logging |
lib.rs | wascc-logging |
version | 0.8.0 |
source | src |
created_at | 2020-04-03 21:42:40.652484 |
updated_at | 2021-01-13 18:40:58.482615 |
description | Structured logging capability provider for the waSCC host runtime |
homepage | https://wascc.dev |
repository | https://github.com/wascc/logging-provider |
max_upload_size | |
id | 226060 |
size | 22,184 |
This library is a native capability provider for the wascc:logging
capability. Only actors signed with tokens containing this capability privilege will be allowed to use it. It allows actors to use normal log
macros (like info!
, warn!
, error!
, etc, to write logs from within the actor.
It should be compiled as a native linux (.so
) binary and made available to the waSCC host runtime as a plugin.
If you want to statically link (embed) this capability provider into a custom host, then enable the static_plugin
feature in your dependencies as follows:
wascc-logging = { version="??", features = ["static_plugin"] }