forked from darktable-org/lua-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
caller
deekayhd edited this page Mar 29, 2026
·
1 revision
caller
get the name and line number of the calling routine
local log = require "lib/dtutils.log"
result = log.caller(level)level - number - the number of stack levels to go down to retrieve the caller routine information
caller gets the name and line number of the calling routine and returns it
result - string - the name and line number of the calling function or 'callback: ' if the attempt to get the caller returns nil