program exits on fatal log
add function name, file name and line number where log occurred to log output