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
tarmac
logger
error
Log Message
nil
Warn
Non-critical errors within the system.
Interface Details
tarmac
logger
warn
Log Message
nil
Info
Informational logs.
Interface Details
tarmac
logger
info
Log Message
nil
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
tarmac
logger
debug
Log Message
nil
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
tarmac
logger
trace
Log Message
nil
Last updated
Was this helpful?