Crates.io | wasmcloud-logging |
lib.rs | wasmcloud-logging |
version | 0.9.4 |
source | src |
created_at | 2021-02-10 21:35:41.93992 |
updated_at | 2021-05-18 20:41:59.112141 |
description | Structured logging capability provider for the wasmCloud host runtime |
homepage | https://wasmcloud.dev |
repository | https://github.com/wasmcloud/capability-providers |
max_upload_size | |
id | 353553 |
size | 21,878 |
This library is a native capability provider for the wasmcloud: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 binary (linux: .so
, mac: .dylib
, windows: dll
, etc) and made available to the wasmCloud host runtime as a plugin. This is commonly done by creating a provider-archive
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:
wasmcloud-logging = { version="??", features = ["static_plugin"] }