log reconnect error

My application, use fluent-logger-ruby, encountered network issue.
I investigated extent of the impact. 
However, fluent-logger-ruby write log when buffer reaches limit.
Probablly my network issues was solved before that.
So I like to log when fluent-logger-ruby fail to connect several times for investigating.