add simple logger. no log file support
add log file support
program exits on fatal log
add function name, file name and line number where log occurred to log output