Adding small hook creation info log.
This commit is contained in:
parent
4af4cd5f75
commit
0380e9f4a8
1 changed files with 1 additions and 0 deletions
|
@ -198,6 +198,7 @@ local function create_internal_hook(orig, obj, method)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function create_hook(self, orig, obj, method, handler, func_name, hook_type)
|
local function create_hook(self, orig, obj, method, handler, func_name, hook_type)
|
||||||
|
self:info("(%s): Hooking '%s' from [%s] (Origin: %s)", func_name, method, obj or "_G", orig)
|
||||||
|
|
||||||
if not is_orig_hooked(obj, method) then
|
if not is_orig_hooked(obj, method) then
|
||||||
create_internal_hook(orig, obj, method)
|
create_internal_hook(orig, obj, method)
|
||||||
|
|
Loading…
Add table
Reference in a new issue