Logger
Standard logging capabilities
The Logger capability provides WASM functions with the ability to log arbitrary data. Much like a traditional logger framework, this capability offers multiple log levels.
By default Debug and Trace level logs are disabled. To enable these log levels to consult the configuration options for Tarmac.
Error
Critical errors within the system.
Interface Details
Namespace | Capability | Function | Input | Output |
---|---|---|---|---|
|
|
| Log Message |
|
Warn
Non-critical errors within the system.
Interface Details
Namespace | Capability | Function | Input | Output |
---|---|---|---|---|
|
|
| Log Message |
|
Info
Informational logs.
Interface Details
Namespace | Capability | Function | Input | Output |
---|---|---|---|---|
|
|
| Log Message |
|
Debug
Request level errors & informational logs. Disabled by default, calls to Debug logging are ignored unless debug
is enabled for the Tarmac host.
Interface Details
Namespace | Capability | Function | Input | Output |
---|---|---|---|---|
|
|
| Log Message |
|
Trace
Low-level details of execution. Disabled by default, calls to Trace logging are ignored unless trace
is enabled for the Tarmac host.
Interface Details
Namespace | Capability | Function | Input | Output |
---|---|---|---|---|
|
|
| Log Message |
|
Last updated