put this in as _f argument and add levels for info warn fatal. should have a default writable log path for unix machines minimum with timestamps prior to what otherwise would have just been printed to stdout