Imports github.com/btcsuite/btclog github.com/jrick/logrotate/rotator Standard library imports bytes fmt io os path/filepath sort strings