Isona / dirble

Fast directory scanning and scraping tool
GNU General Public License v3.0
614 stars 87 forks source link

Fail over to SimpleLogger when TermLogger fails #32

Closed sciguy16 closed 5 years ago

sciguy16 commented 5 years ago

When there is no TTY (e.g. when running in a docker container without -t) the TermLogger will return an Err state, in which case we build a SimpleLogger instead that just logs to stdout.