Added in 1.9.0
$mklogfn(filename)
Returns the filename formatted according to options set in Options -> Logging.
Parameters
filename - The filename to format.