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
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- ISO help
I’m writing a project specification paper. Please let me know if anyone has ISO/IEC/IEEE 29148:2018 — Requirements Engineering, or if someone can check the docu...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?