add autolog
Merge pull request #39 from mpizza/fn_auto_console

add autolog.