refactor(#2826): add lifecycle logging to all Explorer members

This commit is contained in:
Alexander Courtis
2025-06-16 13:55:35 +10:00
parent fc81249d4f
commit 54439447f1
9 changed files with 63 additions and 20 deletions

View File

@@ -19,11 +19,15 @@ local Sorter = Class:extend()
---@protected
---@param args SorterArgs
function Sorter:new(args)
args.explorer:log_lifecycle("Sorter:new")
args.explorer:log_new("Sorter")
self.explorer = args.explorer
end
function Sorter:destroy()
self.explorer:log_destroy("Sorter")
end
---Create a shallow copy of a portion of a list.
---@param t table
---@param first integer First index, inclusive