Display Function Logs in Reverse Chronological Order (Latest to Oldest)
- 3
- General
- Functions
- Web
- Cloud
Is there a way to display function logs in reverse chronological order (latest to oldest) for a better user experience? It would be beneficial as it allows users to easily track and analyse the most recent events, helping with debugging and troubleshooting. is there any possibility for this? Thank you.
Yeah there is a way.
const sortedFunctions= [Array Of Function Executions].sort((a, b) => b.[executionTimeStamp].toLocaleString().localeCompare(a.[executionTimeStamp].toLocaleString())
);
//store `sortedFunctions` and display.
[Array Of Function Executions] = get an array of all executions.. in which [executionTimeStamp] is the timestamp of execution.
Oh you are pointing out Appwrite Console?
Sorry, If I am not clear
Okok
I thought that you want , them in your app. to show them to users.
Creat a GitHub issue for this.
No sandeep, I was looking for something in console
right
since, it's a done project, they can't do it immediately. but we can create a github issue.
If you dont mind can you specify the repo?
Thanks @Sandeep K. Dasari
I think this is in purpose Check this https://discord.com/channels/564160730845151244/1115949474628501535/1116024299279614045
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems
- Applying free credits on Github Student ...
So this post is kind of related to my old post where i was charged 15usd by mistake. This happens when you are trying to apply free credits you got from somewh...