Skip to content

Logging

Kris Kowal edited this page Jul 31, 2024 · 3 revisions

Within a vat, calls to console go to the console device and thus appear in the slog. They also go to STDOUT and STDERR. We anticipate a more comprehensive logging solution (see https://github.com/Agoric/agoric-sdk/issues/1318 ) eventually.

Meanwhile, we have some conventions for log messages that aid debugging and operations.

'⚠️' and '🚨' are used through application code to signal warnings and errors.

🚨 indicates something that should never happen. A log line with 🚨 is a critical error and alerts OpCo accordingly.

⚠️ indicates something that is not expected but was recovered from. A log line with ⚠️ is a warning and alerts OpCo accordingly.

Clone this wiki locally