[](https://crates.io/crates/wasmcloud-logging)


[](https://docs.rs/wasmcloud-logging)
# wasmCloud Logging Provider
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](https://github.com/wasmCloud/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"] }
```