From db20d6df4b98f52e49bdb78c23a36cb467999902 Mon Sep 17 00:00:00 2001 From: Stefano Date: Sun, 23 Feb 2025 13:18:29 +0100 Subject: [PATCH] Update README.md - Add short descritption --- motoko/canister_logs/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/motoko/canister_logs/README.md b/motoko/canister_logs/README.md index 79fb84773..b5669769e 100644 --- a/motoko/canister_logs/README.md +++ b/motoko/canister_logs/README.md @@ -1,5 +1,9 @@ # Canister logs +This sample project demonstrates a basic logging and error handling system for a canister deployed on the Internet Computer. The `canister_logs` project showcases how to utilize logging for debugging and monitoring canister operations. It also demonstrates the use of timers and error handling through traps. + +The `canister_logs` canister is designed to periodically log messages and simulate errors using traps. It provides methods to print messages, trigger traps, and handle memory out-of-bounds errors. The project includes a script to continuously poll and display logs, making it easier to monitor canister activity in real-time. + ## Prerequisites - [x] Install the [IC