#webassembly #wasm #wasi #wascc #logging

wascc-logging

Structured logging capability provider for the waSCC host runtime

3 releases (breaking)

0.8.0 Jan 13, 2021
0.7.0 Jun 4, 2020
0.6.0 Apr 3, 2020

#12 in #wascc

Download history 2/week @ 2022-01-19 6/week @ 2022-01-26 2/week @ 2022-02-02 2/week @ 2022-02-09 2/week @ 2022-02-16 5/week @ 2022-02-23 2/week @ 2022-03-02 2/week @ 2022-03-09 14/week @ 2022-03-16 7/week @ 2022-03-23 2/week @ 2022-03-30 3/week @ 2022-04-06 3/week @ 2022-04-13 3/week @ 2022-04-20 29/week @ 2022-04-27 23/week @ 2022-05-04

59 downloads per month

Apache-2.0

8KB
103 lines

crates.io  Rust  license  documentation

waSCC Logging Provider

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"] }

Dependencies

~2.3–3.5MB
~86K SLoC