Although there may be more elegant ways to do this, if you do not want this to block your progress on other fronts, why not just pass the line number to the macro ...
macro FL(message, line)
return @sprintf("%s:%d | %s", @__FILE__, line, message)
end
println(@FL("m", @__LINE__))
source
share