use buffer length to avoid generating strings every time
use buffer length to avoid generating strings every time

penhauer-xiao/logrus,Sirupsen/logrus,freeformz/logrus,sirupsen/logrus,penhauer-xiao/logrus,yxd-hde/logrus,sirupsen/logrus