The great Log update #2310
Replies: 6 comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Thanks for raising this, it's something that's been on my mind for years. Something I want to add to the system is before/after values wherever possible, so we can revert a change with a single click. |
Beta Was this translation helpful? Give feedback.
-
Yeah I was thinking of that too, not sure the best way to store it all though. Any smart ideas? |
Beta Was this translation helpful? Give feedback.
-
well like i did on NamelessHosting v3 to change most deletions to be a deleted colum and its timestamp instead of 1 then somehow add that id into log to allow to restore and its sub stuff |
Beta Was this translation helpful? Give feedback.
-
But what about other modules? We must use own action const? |
Beta Was this translation helpful? Give feedback.
-
Logging in NamelessMC is a little used feature, but has a lot of potential.
As you may know, the Log class is very annoying currently.
You have to use the
Action
function to get the "action", but... what does this even do? No language translations exist so its just a very vaguesnake_case_phrase
which is non translatable.My proposed solution:
NOT DONE YET
Beta Was this translation helpful? Give feedback.
All reactions