astaxie/beego — pull request #714 by MicroMoon (2014-07-27 06:02:21+00:00)
Title: revise the comment

The channel is a buffer with the size of channellen.
No matter the buffer is full or not, so long as it reads one, it will write the message to all it's outputs.
Thus the comment "when chan is full, write logs." is wrong.

I have another concern here.
the member outputs of BeeLogger is not thread-safe.
it may result in some problems.
For example, some function such as func (bl *BeeLogger) SetLogger(adaptername string, config string) error
appends a new write to outpusts while another function such as func (bl *BeeLogger) startLogger() iterators outputs.