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
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...
- Self hosted project based backup
Is there a native way to perform a project-level backup in a self-hosted instance, instead of backing up the entire Docker instance? If not, I would like to off...
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...