add-log-buffer-file-name-function is a variable defined in `add-log.el'.
Its value is
buffer-file-name
This variable may be risky if used as a file-local variable.
Documentation:
If non-nil, function to call to identify the full filename of a buffer.
This function is called with no argument. The default is to
use `buffer-file-name'.