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
- Function global variables
when i create a top-level global variable in go or bun how will it behave? is the heap getting renewed on every execution or could i do some kind of temp. cachi...
- sh: vite: Permission denied
When installing the vue starter template as site and then adding DaisyUI, i get the error `sh: vite: Permission denied`. I also got this issue (with a fresh tem...
- Clean install of 1.9.0 shows errors in a...
I just run a full clean install of Appwrite on my server following the Manual installation guide in the docs page. The console seems to work, visually there d...