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
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...