How I can use the Logs management for each function execution to put there custom logs like console.log/warn/error.
in front and there is a window for that. How I can use it in my code?
Logs should work with your normal console.log()
For response you should follow the basic example, and use res.json
module.exports = async (req, res) => {
console.log("Hello logs");
res.json({
message: 'Hello from Appwrite!',
});
};
Recommended threads
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...
- functions returning error 401 in local
I updated to 1.9.0, and the functions that used to work fine in 1.8.1 are now giving me a 401 error. I can't seem to find a solution. If anyone is running versi...
- Docker Compose MongoDB Setup
everythings work fine but the mongodb fails on startup everytime. log: ``` Generating random MongoDB keyfile... /bin/bash: line 9: : No such file or directory ...