better version of check for io.WriteCloser
better version of check for io.WriteCloser

elithrar/lumberjack,lagilaper/lumberjack,yangpingcd/lumberjack,chentao/lumberjack,natefinch/lumberjack,snowsnail/lumberjack